summaryrefslogtreecommitdiff
path: root/misc/magicpoint/Makefile
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/Makefile
parent- Fix shebangs (diff)
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395483
Diffstat (limited to 'misc/magicpoint/Makefile')
-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>