summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-04 21:33:46 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-04 21:33:46 +0000
commit8464a5a7a379a979f1e0b788d7c053a81c81e6fd (patch)
treedfe9076e4a79d815a168d94e30de54f6a907d2ac
parent71a1fbbe5dd291e39585f8d92935026f6ca5eb03 (diff)
downloadFreeBSD-ports-8464a5a7a379a979f1e0b788d7c053a81c81e6fd.zip
FreeBSD-ports-8464a5a7a379a979f1e0b788d7c053a81c81e6fd.tar.gz
- Add NO_ARCH
- Switch to options helpers Approved by: portmgr blanket
-rw-r--r--x11-wm/fvwm-crystal/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/x11-wm/fvwm-crystal/Makefile b/x11-wm/fvwm-crystal/Makefile
index b1c7f47..6bdad0b 100644
--- a/x11-wm/fvwm-crystal/Makefile
+++ b/x11-wm/fvwm-crystal/Makefile
@@ -17,6 +17,8 @@ USES= gettext gmake python shebangfix
SHEBANG_FILES= addons/* bin/* fvwm/scripts/speed_value
MAKE_ENV= prefix="${PREFIX}" addondir="${DOCSDIR}/addons"
PORTDOCS= *
+INSTALL_TARGET= install
+NO_ARCH= yes
OPTIONS_DEFINE= ROX IMAGEMAGICK XSCREENSAVER TRAYER SUDO HSETROOT CMUS DOCS
OPTIONS_DEFAULT= ROX IMAGEMAGICK XSCREENSAVER TRAYER SUDO HSETROOT
@@ -35,17 +37,12 @@ TRAYER_RUN_DEPENDS= trayer:${PORTSDIR}/x11/trayer
SUDO_RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
SETROOT_RUN_DEPENDS= hsetroot:${PORTSDIR}/graphics/hsetroot
CMUS_RUN_DEPENDS= cmus:${PORTSDIR}/audio/cmus
-
-.include <bsd.port.options.mk>
+DOCS_INSTALL_TARGET= install-doc
post-extract:
@cd ${WRKSRC} && ${FIND} . -depth -type d -name .svn \
-exec ${RM} -rf {} \;
-.if ${PORT_OPTIONS:MDOCS}
-INSTALL_TARGET= install install-doc
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|cp -r -d|cp -r|; s|cp -d|cp|' \
${WRKSRC}/${MAKEFILE}
OpenPOWER on IntegriCloud