freebsd-ports/devel/datadraw/Makefile
Dmitry Marakasov 63b25aade2 - Silence patching
- Switch to options helpers
2015-11-25 02:14:45 +00:00

41 lines
856 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= datadraw
PORTVERSION= 3.1.1
PORTREVISION= 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
USES= gmake
ALL_TARGET= # empty
PORTDOCS= *
CONFIGURE_ARGS= --prefix=\$${DESTDIR}${PREFIX}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000013
USES+= bison
.else
post-patch:
@${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/www/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manual.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>