pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ada-templates-parser-25



Module Name:    pkgsrc
Committed By:   dkazankov
Date:           Fri Oct  3 11:47:58 UTC 2025

Added Files:
        pkgsrc/textproc/ada-templates-parser-25: inplace.mk

Log Message:
ada-templates-parser-25: add inplacing support


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ada-templates-parser-25/inplace.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/ada-templates-parser-25/inplace.mk
diff -u /dev/null pkgsrc/textproc/ada-templates-parser-25/inplace.mk:1.1
--- /dev/null   Fri Oct  3 11:47:58 2025
+++ pkgsrc/textproc/ada-templates-parser-25/inplace.mk  Fri Oct  3 11:47:58 2025
@@ -0,0 +1,30 @@
+# $NetBSD: inplace.mk,v 1.1 2025/10/03 11:47:58 dkazankov Exp $
+#
+# Include this file to extract library source into the WRKSRC of
+# another package.
+#
+
+post-fetch: fetch-inplace-templates-parser
+
+post-extract: extract-inplace-templates-parser
+
+.PHONY: fetch-inplace-templates-parser
+fetch-inplace-templates-parser:
+       @${STEP_MSG} Fetching in-place templates-parser
+       ${RUN}cd ../../textproc/ada-templates-parser-25 && \
+               ${MAKE} WRKDIR=${WRKSRC}/.devel.templates-parser \
+                       EXTRACT_DIR=${WRKSRC} \
+                       WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' \
+                       SKIP_DEPENDS=YES \
+                       checksum
+
+.PHONY: extract-inplace-templates-parser
+extract-inplace-templates-parser:
+       @${STEP_MSG} Extracting in-place templates-parser
+       ${RUN}cd ../../textproc/ada-templates-parser-25 && \
+               ${MAKE} WRKDIR=${WRKSRC}/.devel.templates-parser \
+                       EXTRACT_DIR=${WRKSRC} \
+                       WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' \
+                       SKIP_DEPENDS=YES \
+                       patch
+       ${RUN}${MV} ${WRKSRC}/templates-parser-*/* ${WRKSRC}/templates_parser/



Home | Main Index | Thread Index | Old Index