Changeset View
Changeset View
Standalone View
Standalone View
math/gri/Makefile
Show All 26 Lines | |||||
PORTDOCS= * | PORTDOCS= * | ||||
PORTEXAMPLES= * | PORTEXAMPLES= * | ||||
OPTIONS_DEFINE= DOCS EXAMPLES | OPTIONS_DEFINE= DOCS EXAMPLES | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} | .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} | ||||
BUILD_DEPENDS+= convert:graphics/ImageMagick6 | USES+= magick:6,build | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in | '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/gzip/s|^|#| ; \ | '/gzip/s|^|#| ; \ | ||||
/EXAMPLES_DIR/s|^|#|' ${WRKSRC}/doc/Makefile.in | /EXAMPLES_DIR/s|^|#|' ${WRKSRC}/doc/Makefile.in | ||||
Show All 31 Lines |