Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 09:25:59 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356887 - head/devel/poco
Message-ID:  <201406070925.s579PxOf010498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
+# Created by: Wes Peters <wes@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@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>



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