aboutsummaryrefslogtreecommitdiffstats
path: root/devel/icmake/Makefile
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-12-05 02:50:35 +0800
committerpgj <pgj@FreeBSD.org>2012-12-05 02:50:35 +0800
commitf2f979d1bc9718f763e9a523f81413656a26f08b (patch)
tree4fa6357ed7ed831b26516abc4cecfd7c01539531 /devel/icmake/Makefile
parent0eeeb5951764a5fe5731cd022460acc79acec160 (diff)
downloadfreebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.tar.gz
freebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.tar.zst
freebsd-ports-gnome-f2f979d1bc9718f763e9a523f81413656a26f08b.zip
- Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
- Use a single space after "WWW:" in port descriptions Requested by: jhale, danfe, bapt Feature safe: yes
Diffstat (limited to 'devel/icmake/Makefile')
-rw-r--r--devel/icmake/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/icmake/Makefile b/devel/icmake/Makefile
index 5042100c6bb3..71b9b28f387c 100644
--- a/devel/icmake/Makefile
+++ b/devel/icmake/Makefile
@@ -29,6 +29,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
REINPLACE_ARGS= -I ""
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
${WRKSRC}/icm_bootstrap \
@@ -103,7 +105,7 @@ do-install:
.if !defined(NO_INSTALL_MANPAGES)
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install man
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install doc
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./icm_install docdoc
.endif