Date: Mon, 4 Nov 2013 17:01:15 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332746 - head/textproc/confget Message-ID: <201311041701.rA4H1FWv056878@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Nov 4 17:01:15 2013 New Revision: 332746 URL: http://svnweb.freebsd.org/changeset/ports/332746 Log: - 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 Modified: head/textproc/confget/Makefile head/textproc/confget/distinfo Modified: head/textproc/confget/Makefile ============================================================================== --- head/textproc/confget/Makefile Mon Nov 4 16:59:12 2013 (r332745) +++ head/textproc/confget/Makefile Mon Nov 4 17:01:15 2013 (r332746) @@ -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/t 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 Modified: head/textproc/confget/distinfo ============================================================================== --- head/textproc/confget/distinfo Mon Nov 4 16:59:12 2013 (r332745) +++ head/textproc/confget/distinfo Mon Nov 4 17:01:15 2013 (r332746) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041701.rA4H1FWv056878>