From 9071c9d05eeace6c0091ae2785d5f6d7903e2f67 Mon Sep 17 00:00:00 2001
From: Alexey Dokuchaev <danfe@FreeBSD.org>
Date: Sat, 7 Jun 2014 09:25:58 +0000
Subject: Stagify; cleanup Makefile; define LICENSE (BSL); utilize OPTIONS
 helpers.

NB: New version 1.4.6p4 is available
---
 devel/poco/Makefile | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

diff --git a/devel/poco/Makefile b/devel/poco/Makefile
index 121f9e3ee9da..5938afa3a0a6 100644
--- a/devel/poco/Makefile
+++ b/devel/poco/Makefile
@@ -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>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0