svn commit: r356887 - head/devel/poco

Alexey Dokuchaev danfe at FreeBSD.org
Sat Jun 7 09:25:59 UTC 2014


Author: danfe
Date: Sat Jun  7 09:25:58 2014
New Revision: 356887
URL: http://svnweb.freebsd.org/changeset/ports/356887
QAT: https://qat.redports.org/buildarchive/r356887/

Log:
  Stagify; cleanup Makefile; define LICENSE (BSL); utilize OPTIONS helpers.
  
  NB: New version 1.4.6p4 is available

Modified:
  head/devel/poco/Makefile

Modified: head/devel/poco/Makefile
==============================================================================
--- head/devel/poco/Makefile	Sat Jun  7 08:43:31 2014	(r356886)
+++ head/devel/poco/Makefile	Sat Jun  7 09:25:58 2014	(r356887)
@@ -1,7 +1,8 @@
-# Created by: wes at FreeBSD.org
+# Created by: Wes Peters <wes at FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	poco
+# New version 1.4.6p4 is available; please use DISTVERSION upon updating
 PORTVERSION=	1.4.3
 CATEGORIES=	devel net
 MASTER_SITES=	SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION}
@@ -10,30 +11,22 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}p1
 MAINTAINER=	wes at FreeBSD.org
 COMMENT=	C++ Portable Components library
 
+LICENSE=	BSL
+
 CONFLICTS=	poco-ssl-[0-9]*
 
+USES=		gmake tar:bzip2
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--config=FreeBSD
+USE_LDCONFIG=	yes
+
 OPTIONS_DEFINE=	TEST SAMPLES
 SAMPLES_DESC=	Build sample programs
 
-CONFIGURE_ARGS= --config=FreeBSD
-USES=		gmake
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MTEST}
-CONFIGURE_ARGS+= --no-tests
-.endif
-
-.if ! ${PORT_OPTIONS:MSAMPLES}
-CONFIGURE_ARGS+= --no-samples
-.endif
-
-GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
-USE_LDCONFIG=	yes
+TEST_CONFIGURE_OFF=	--no-tests
+SAMPLES_CONFIGURE_OFF=	--no-samples
 
 post-patch:
-	@${REINPLACE_CMD} -e "s/ =/ ?=/g" ${WRKSRC}/build/config/FreeBSD
+	@${REINPLACE_CMD} -e 's/ =/ ?=/' ${WRKSRC}/build/config/FreeBSD
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list