1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/datadraw/Makefile
Baptiste Daroussin 8e1ae1d8ea Use byacc on current instead of bison.
Convert to new options framework
Remove indefinite article from COMMENT
Add license

Feature safe:	yes
2013-04-16 21:45:17 +00:00

38 lines
698 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= datadraw
PORTVERSION= 3.1.1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Feature rich persistent database generator
LICENSE= GPLv2
HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= # empty
.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:
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/www/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>