aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-05 05:33:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-05 05:33:46 +0800
commitdc361408c4e8082289cbf1e5eb49eeb1b76c84c0 (patch)
treedfe9076e4a79d815a168d94e30de54f6a907d2ac /x11-wm
parent3765e323f91283bf964c9608173ed11730f05038 (diff)
downloadfreebsd-ports-gnome-dc361408c4e8082289cbf1e5eb49eeb1b76c84c0.tar.gz
freebsd-ports-gnome-dc361408c4e8082289cbf1e5eb49eeb1b76c84c0.tar.zst
freebsd-ports-gnome-dc361408c4e8082289cbf1e5eb49eeb1b76c84c0.zip
- Add NO_ARCH
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'x11-wm')
-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 b1c7f47b7444..6bdad0bd8762 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}