summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-07 15:50:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-07 15:50:23 +0000
commit5636917b9a1022ee01963783713762c4ccf9ca97 (patch)
treea0ee803b36c29b423a8a8d2a098503255dbb41c4
parenttextproc/jing: update 2008.10.28 -> 2015.11.27 (diff)
- Add LICENSE_FILE
- Remove garbage file - Switch to options helpers - Silence stripping
Notes
Notes: svn path=/head/; revision=425636
-rw-r--r--devel/poco-ssl/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/poco-ssl/Makefile b/devel/poco-ssl/Makefile
index e03001162b4f..530b0d3d0edb 100644
--- a/devel/poco-ssl/Makefile
+++ b/devel/poco-ssl/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= ports@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>