svn commit: r441963 - head/net/unison240
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 28 23:17:54 UTC 2017
Author: sunpoet
Date: Sun May 28 23:17:52 2017
New Revision: 441963
URL: https://svnweb.freebsd.org/changeset/ports/441963
Log:
Fix options helper
- Fix OPTIONS_DEFAULT: remove DOCS which is added by framework
- Convert to options target helper
Approved by: portmgr (blanket)
Modified:
head/net/unison240/Makefile
Modified: head/net/unison240/Makefile
==============================================================================
--- head/net/unison240/Makefile Sun May 28 23:17:47 2017 (r441962)
+++ head/net/unison240/Makefile Sun May 28 23:17:52 2017 (r441963)
@@ -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}
More information about the svn-ports-head
mailing list