Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 21:45:18 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315910 - head/devel/datadraw
Message-ID:  <201304162145.r3GLjIlR020221@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304162145.r3GLjIlR020221>