Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 15:50:23 +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: r425636 - head/devel/poco-ssl
Message-ID:  <201611071550.uA7FoNXg003055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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