aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-05-29 07:17:52 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-05-29 07:17:52 +0800
commita95b34c895596b6c987a8723a971642f181f1948 (patch)
tree31be34d326a37ecc122ad8fa1e0760cbf1876bb3 /net
parent9ddf851128d15859c95d867bc444535de06c22c3 (diff)
downloadfreebsd-ports-gnome-a95b34c895596b6c987a8723a971642f181f1948.tar.gz
freebsd-ports-gnome-a95b34c895596b6c987a8723a971642f181f1948.tar.zst
freebsd-ports-gnome-a95b34c895596b6c987a8723a971642f181f1948.zip
Fix options helper
- Fix OPTIONS_DEFAULT: remove DOCS which is added by framework - Convert to options target helper Approved by: portmgr (blanket)
Diffstat (limited to 'net')
-rw-r--r--net/unison240/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/unison240/Makefile b/net/unison240/Makefile
index ac1cf04b97b7..fe73b874a4f9 100644
--- a/net/unison240/Makefile
+++ b/net/unison240/Makefile
@@ -32,7 +32,7 @@ EXTRA_DOCS= ${DISTNAME}-manual.html \
${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps
OPTIONS_DEFINE= DOCS X11
-OPTIONS_DEFAULT?= DOCS X11
+OPTIONS_DEFAULT?= X11
X11_MAKE_ARGS= UISTYLE=gtk2
X11_PLIST_SUB= TEXT=""
@@ -57,6 +57,8 @@ post-build-X11-on:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR}