svn commit: r425636 - head/devel/poco-ssl

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 7 15:50:24 UTC 2016


Author: amdmi3
Date: Mon Nov  7 15:50:23 2016
New Revision: 425636
URL: https://svnweb.freebsd.org/changeset/ports/425636

Log:
  - Add LICENSE_FILE
  - Remove garbage file
  - Switch to options helpers
  - Silence stripping

Modified:
  head/devel/poco-ssl/Makefile

Modified: head/devel/poco-ssl/Makefile
==============================================================================
--- head/devel/poco-ssl/Makefile	Mon Nov  7 15:48:57 2016	(r425635)
+++ head/devel/poco-ssl/Makefile	Mon Nov  7 15:50:23 2016	(r425636)
@@ -14,6 +14,7 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	C++ libraries with a network/internet focus (full version)
 
 LICENSE=	BSL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 CONFLICTS=	poco-[0-9]*
 
@@ -40,18 +41,17 @@ MYSQL_CONFIGURE_OFF=	--omit=Data/MySQL
 SQLITE_USES=		sqlite
 SQLITE_CONFIGURE_OFF=	--omit=Data/SQLite
 
-.include <bsd.port.options.mk>
+post-extract:
+	@${RM} -f ${WRKSRC}/Foundation/include/Poco/._Version.h
 
-post-patch:
-.if empty(PORT_OPTIONS:MTEST)
+post-patch-TEST-off:
 	@${REINPLACE_CMD} -e '/^all:/s/tests//' ${WRKSRC}/Makefile
-.endif
-.if empty(PORT_OPTIONS:MSAMPLES)
+
+post-patch-SAMPLES-off:
 	@${REINPLACE_CMD} -e '/^all:/s/samples//' ${WRKSRC}/Makefile
-.endif
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*d
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*d.so.*
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*d
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*d.so.*
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list