aboutsummaryrefslogtreecommitdiff
path: root/devel/datadraw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-16 21:45:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-16 21:45:17 +0000
commit8e1ae1d8ead64c00e23682441e402f761317ea24 (patch)
tree15d20d8008e33048099df069c8c9b2532042a216 /devel/datadraw
parentef8587d3fcd5394f72ee25a2abfb5be838b52e23 (diff)
downloadports-8e1ae1d8ead64c00e23682441e402f761317ea24.tar.gz
ports-8e1ae1d8ead64c00e23682441e402f761317ea24.zip
Use byacc on current instead of bison.
Convert to new options framework Remove indefinite article from COMMENT Add license Feature safe: yes
Notes
Notes: svn path=/head/; revision=315910
Diffstat (limited to 'devel/datadraw')
-rw-r--r--devel/datadraw/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/devel/datadraw/Makefile b/devel/datadraw/Makefile
index 6d05db853ff6..65188064db30 100644
--- a/devel/datadraw/Makefile
+++ b/devel/datadraw/Makefile
@@ -8,14 +8,24 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A feature rich persistent database generator
+COMMENT= Feature rich persistent database generator
+
+LICENSE= GPLv2
-USES= bison
HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= # empty
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1000013
+USES+= bison
+.else
+post-patch:
+ ${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure
+.endif
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
post-install: