1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Don't install patch files with headers

This commit is contained in:
Dmitry Marakasov 2015-03-17 03:06:30 +00:00
parent fbff4b4bea
commit 3840a7f8b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381458

View File

@ -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