aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-05 01:01:15 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-05 01:01:15 +0800
commit72e45679c8f2e69759176646a98eccd93d7693a6 (patch)
treec92d3c26047384fb9535df85d5698162719bc66f
parenta03d4e9226b0ece4fee6cc0f2ebb1b97488c4558 (diff)
downloadfreebsd-ports-gnome-72e45679c8f2e69759176646a98eccd93d7693a6.tar.gz
freebsd-ports-gnome-72e45679c8f2e69759176646a98eccd93d7693a6.tar.zst
freebsd-ports-gnome-72e45679c8f2e69759176646a98eccd93d7693a6.zip
- Update to 1.05
- Add LICENSE - Convert to new options helper - Convert to new LIB_DEPENDS format - Support STAGEDIR Changes: http://devel.ringlet.net/textproc/confget/CHANGES
-rw-r--r--textproc/confget/Makefile25
-rw-r--r--textproc/confget/distinfo4
2 files changed, 14 insertions, 15 deletions
diff --git a/textproc/confget/Makefile b/textproc/confget/Makefile
index cd818e883dbd..4db215e28b7b 100644
--- a/textproc/confget/Makefile
+++ b/textproc/confget/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= confget
-PORTVERSION= 1.04
-PORTREVISION= 1
+PORTVERSION= 1.05
CATEGORIES= textproc
MASTER_SITES= http://devel.ringlet.net/textproc/confget/ \
LOCAL/sunpoet
@@ -11,27 +10,24 @@ MASTER_SITES= http://devel.ringlet.net/textproc/confget/ \
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Read variables from INI-style configuration files
+LICENSE= BSD
+
OPTIONS_DEFINE= EXAMPLES PCRE
OPTIONS_DEFAULT=PCRE
MAKE_ENV= CFLAGS_CONF=-DHAVE_FGETLN
USES= gmake
-MAN1= confget.1
-MANCOMPRESSED= yes
-PLIST_FILES= bin/confget
+PLIST_FILES= bin/confget \
+ man/man1/confget.1.gz
PORTEXAMPLES= t1.ini t2.ini
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+EXAMPLES_MAKE_ENV= EXAMPLESDIR=${EXAMPLESDIR}
+PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
-.if ${PORT_OPTIONS:MEXAMPLES}
-MAKE_ENV+= EXAMPLESDIR=${EXAMPLESDIR}
-.endif
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre
-.else
+.if !${PORT_OPTIONS:MPCRE}
MAKE_ENV+= PCRE_CFLAGS="" PCRE_LIBS=""
.endif
@@ -40,6 +36,9 @@ post-patch:
@${REINPLACE_CMD} -e '/^install:/ s| install-examples||' ${WRKSRC}/Makefile
.endif
+post-build:
+ @${STRIP_CMD} ${WRKSRC}/confget
+
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
diff --git a/textproc/confget/distinfo b/textproc/confget/distinfo
index 9383875cebd1..10d541879344 100644
--- a/textproc/confget/distinfo
+++ b/textproc/confget/distinfo
@@ -1,2 +1,2 @@
-SHA256 (confget-1.04.tar.gz) = 8c34f33bf83ea1b0f37cb524d20627a1abcc1eb6234e3a9e4cef8aaf9a9a38cd
-SIZE (confget-1.04.tar.gz) = 16770
+SHA256 (confget-1.05.tar.gz) = 988c225ff9ed950a926c4229099e6dda437bfc0837239649716973c179adc8e4
+SIZE (confget-1.05.tar.gz) = 17057