svn commit: r315910 - head/devel/datadraw
Baptiste Daroussin
bapt at FreeBSD.org
Tue Apr 16 21:45:18 UTC 2013
Author: bapt
Date: Tue Apr 16 21:45:17 2013
New Revision: 315910
URL: http://svnweb.freebsd.org/changeset/ports/315910
Log:
Use byacc on current instead of bison.
Convert to new options framework
Remove indefinite article from COMMENT
Add license
Feature safe: yes
Modified:
head/devel/datadraw/Makefile
Modified: head/devel/datadraw/Makefile
==============================================================================
--- head/devel/datadraw/Makefile Tue Apr 16 21:40:44 2013 (r315909)
+++ head/devel/datadraw/Makefile Tue Apr 16 21:45:17 2013 (r315910)
@@ -8,14 +8,24 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports at 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:
More information about the svn-ports-head
mailing list