aboutsummaryrefslogtreecommitdiff
path: root/textproc/flex/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-07-23 20:54:12 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-07-23 20:54:12 +0000
commitffb53c6a4fb566ff7c9b0478d7086938bfa8fb0f (patch)
treedcae9d364b0bd61f3d1550a5e94daf84394210b9 /textproc/flex/Makefile
parentc990617606589ec5192cb00bf793efd352c064d2 (diff)
downloadports-ffb53c6a4fb566ff7c9b0478d7086938bfa8fb0f.tar.gz
ports-ffb53c6a4fb566ff7c9b0478d7086938bfa8fb0f.zip
Update flex to 2.5.36 (bugfix release)
Notes
Notes: svn path=/head/; revision=301412
Diffstat (limited to 'textproc/flex/Makefile')
-rw-r--r--textproc/flex/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile
index 5a62260f9ab8..7e090b14f209 100644
--- a/textproc/flex/Makefile
+++ b/textproc/flex/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= flex
-PORTVERSION= 2.5.35
-PORTREVISION= 4
+PORTVERSION= 2.5.36
CATEGORIES= textproc
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= johans@FreeBSD.org
COMMENT= Fast lexical analyzer generator
@@ -37,6 +36,12 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.if ${PORT_OPTIONS:MDOCS}
+PORTDOCS= *
+.else
+CONFIGURE_ARGS+=--docdir=${WRKSRC}
+.endif
+
post-patch: .SILENT
${REINPLACE_CMD} -Ee 's/tests//' \
-e 's/^([[:space:]]*)\$$\(RANLIB\) ([^ ;]*)/\1chmod u+w \2;&/' \