aboutsummaryrefslogtreecommitdiff
path: root/misc/magicpoint
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 13:39:56 +0000
commite638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /misc/magicpoint
parent3c87974395c0f207b0768da251c721e0125b48b7 (diff)
downloadports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.tar.gz
ports-e638299edcfecb35838ad7fad0b71c4fa5ed7639.zip
Notes
Diffstat (limited to 'misc/magicpoint')
-rw-r--r--misc/magicpoint/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index da1dbeef4562..e88459a39b39 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -58,8 +58,6 @@ GIF_CONFIGURE_ENABLE= gif
GIF_LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib
GIF_CPPFLAGS= -I${LOCALBASE}/include
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|-lungif|-lgif|' \
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
@@ -82,7 +80,8 @@ post-install:
${STAGEDIR}${PREFIX}/man/man1/
${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \
${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
@@ -101,6 +100,5 @@ post-install:
cd ${WRKSRC}/contrib && \
${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} \
${STAGEDIR}${DOCSDIR}/scripts/
-.endif
.include <bsd.port.mk>