diff options
author | Johan van Selst <johans@FreeBSD.org> | 2015-11-18 08:08:43 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2015-11-18 08:08:43 +0000 |
commit | 3bf13ac1f514a62e64afcf132f96adb0a65229e1 (patch) | |
tree | 9b3cddfde106a5b2cbf64ea5ed4e43236950f11f /textproc/flex | |
parent | 8a7af791fcd9327e62ef5bed2f656374085b0d29 (diff) | |
download | ports-3bf13ac1f514a62e64afcf132f96adb0a65229e1.tar.gz ports-3bf13ac1f514a62e64afcf132f96adb0a65229e1.zip |
Notes
Diffstat (limited to 'textproc/flex')
-rw-r--r-- | textproc/flex/Makefile | 15 | ||||
-rw-r--r-- | textproc/flex/distinfo | 4 | ||||
-rw-r--r-- | textproc/flex/pkg-plist | 1 |
3 files changed, 14 insertions, 6 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile index b31bc1a6ebac..e1a289ea9858 100644 --- a/textproc/flex/Makefile +++ b/textproc/flex/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= flex -PORTVERSION= 2.5.39 -PORTREVISION= 2 +PORTVERSION= 2.6.0 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME} @@ -21,16 +20,26 @@ CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4 MAKEINFO="makeinfo --no-split" INSTALL_TARGET= install-strip INFO= flex +PORTEXAMPLES= * -OPTIONS_DEFINE= DOCS NLS +OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls +.include <bsd.port.options.mk> + post-patch: .SILENT ${REINPLACE_CMD} -Ee 's/tests//' \ -e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \ ${WRKSRC}/Makefile.in ${RM} -f ${WRKSRC}/doc/*.info* +post-install: +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${CP} -r ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/ + ${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile.am +.endif + .include <bsd.port.mk> diff --git a/textproc/flex/distinfo b/textproc/flex/distinfo index 3f96119c2d27..7416a3662121 100644 --- a/textproc/flex/distinfo +++ b/textproc/flex/distinfo @@ -1,2 +1,2 @@ -SHA256 (flex-2.5.39.tar.bz2) = add2b55f3bc38cb512b48fad7d72f43b11ef244487ff25fc00aabec1e32b617f -SIZE (flex-2.5.39.tar.bz2) = 1612101 +SHA256 (flex-2.6.0.tar.bz2) = 24e611ef5a4703a191012f80c1027dc9d12555183ce0ecd46f3636e587e9b8e9 +SIZE (flex-2.6.0.tar.bz2) = 1634276 diff --git a/textproc/flex/pkg-plist b/textproc/flex/pkg-plist index 2de8e962a5d4..8bc25c0200e0 100644 --- a/textproc/flex/pkg-plist +++ b/textproc/flex/pkg-plist @@ -9,7 +9,6 @@ man/man1/flex.1.gz %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/ONEWS %%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/flex.pdf %%NLS%%share/locale/ca/LC_MESSAGES/flex.mo %%NLS%%share/locale/da/LC_MESSAGES/flex.mo |