svn commit: r441956 - head/ftp/spegla
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 28 23:17:20 UTC 2017
Author: sunpoet
Date: Sun May 28 23:17:19 2017
New Revision: 441956
URL: https://svnweb.freebsd.org/changeset/ports/441956
Log:
Fix options helper
- Add missing OPTIONS_DEFINE=EXAMPLES
- Fix OPTIONS_DEFAULT: remove IPV6 which is added by framework
- Convert to options target helper
Approved by: portmgr (blanket)
Modified:
head/ftp/spegla/Makefile
Modified: head/ftp/spegla/Makefile
==============================================================================
--- head/ftp/spegla/Makefile Sun May 28 23:17:14 2017 (r441955)
+++ head/ftp/spegla/Makefile Sun May 28 23:17:19 2017 (r441956)
@@ -20,15 +20,14 @@ MAKE_ARGS= MANDIR=${MAN1PREFIX}/man/man
PLIST_FILES= bin/spegla man/man1/spegla.1.gz
PORTEXAMPLES= freebsd.org spegla.conf spegla.sh
-OPTIONS_DEFINE= IPV6
-OPTIONS_DEFAULT=IPV6
+OPTIONS_DEFINE= EXAMPLES IPV6
IPV6_MAKE_ARGS= -DINET6
post-extract:
cd ${WRKSRC} && ${SED} -e ${LICENSE_BSD2CLAUSE_REGEX} \
${WRKSRC}/spegla.c > ${LICENSE_FILE}
-post-install:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/freebsd.org ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/spegla.conf ${STAGEDIR}${EXAMPLESDIR}
More information about the svn-ports-head
mailing list