Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2015 03:06:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381458 - head/misc/gctpc
Message-ID:  <201503170306.t2H36VWY004817@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Mar 17 03:06:30 2015
New Revision: 381458
URL: https://svnweb.freebsd.org/changeset/ports/381458
QAT: https://qat.redports.org/buildarchive/r381458/

Log:
  - Don't install patch files with headers

Modified:
  head/misc/gctpc/Makefile

Modified: head/misc/gctpc/Makefile
==============================================================================
--- head/misc/gctpc/Makefile	Tue Mar 17 01:37:31 2015	(r381457)
+++ head/misc/gctpc/Makefile	Tue Mar 17 03:06:30 2015	(r381458)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503170306.t2H36VWY004817>