mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
8e1ae1d8ea
Convert to new options framework Remove indefinite article from COMMENT Add license Feature safe: yes
38 lines
698 B
Makefile
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>
|