Changeset View
Changeset View
Standalone View
Standalone View
mail/libpst/Makefile
Show All 22 Lines | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
PORTDOCS= * | PORTDOCS= * | ||||
OPTIONS_DEFINE= DOCS PST2DII | OPTIONS_DEFINE= DOCS PST2DII | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
PST2DII_DESC= Allow Summation Document Image Information output | PST2DII_DESC= Allow Summation Document Image Information output | ||||
PST2DII_BUILD_DEPENDS= convert:graphics/ImageMagick6 | |||||
PST2DII_CONFIGURE_ENABLE= dii | PST2DII_CONFIGURE_ENABLE= dii | ||||
PST2DII_USES= localbase magick:6,build,run | |||||
PST2DII_LIB_DEPENDS= libgd.so:graphics/gd | PST2DII_LIB_DEPENDS= libgd.so:graphics/gd | ||||
PST2DII_RUN_DEPENDS= convert:graphics/ImageMagick6 | |||||
PST2DII_USES= localbase | |||||
post-patch: | post-patch: | ||||
@${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' | @${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' | ||||
@${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in | @${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in | ||||
@${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |