aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-17 11:06:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-17 11:06:30 +0800
commitc7db180a1310ccdba4f57e5db0998d447d03fdd3 (patch)
tree61f8cce06d5bd8895ab60fcfbca67246a1194349 /misc
parentbb8051a8832b49f5145fb27e54bd1feabd3961a6 (diff)
downloadfreebsd-ports-graphics-c7db180a1310ccdba4f57e5db0998d447d03fdd3.tar.gz
freebsd-ports-graphics-c7db180a1310ccdba4f57e5db0998d447d03fdd3.tar.zst
freebsd-ports-graphics-c7db180a1310ccdba4f57e5db0998d447d03fdd3.zip
- Don't install patch files with headers
Diffstat (limited to 'misc')
-rw-r--r--misc/gctpc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile
index e2d6fd137d4..da9627b454f 100644
--- a/misc/gctpc/Makefile
+++ b/misc/gctpc/Makefile
@@ -19,7 +19,9 @@ ALL_TARGET= libgctpc.so.1
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
-.include <bsd.port.options.mk>
+post-extract:
+ @${FIND} ${FILESDIR} -name "*.h" -not -name "patch-*" -exec \
+ ${INSTALL_DATA} {} ${WRKSRC} \;
do-install:
${INSTALL_DATA} ${WRKSRC}/libgctpc.a ${STAGEDIR}${PREFIX}/lib
@@ -27,7 +29,6 @@ do-install:
${LN} -sf libgctpc.so.1 ${STAGEDIR}${PREFIX}/lib/libgctpc.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/gctpc
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/gctpc
- ${INSTALL_DATA} ${FILESDIR}/*.h ${STAGEDIR}${PREFIX}/include/gctpc
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/README.main