- Silence patching

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-11-25 02:14:45 +00:00
parent 54cffdb817
commit 63b25aade2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402385

View file

@ -13,25 +13,27 @@ COMMENT= Feature rich persistent database generator
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
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
@${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${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}