aboutsummaryrefslogtreecommitdiff
path: root/ftp/spegla
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-28 23:17:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-28 23:17:19 +0000
commit8a815a6a69641fa04a0936186df22eb1496ac52e (patch)
tree199071ec83841fb90c050f16343cb210ab9679c1 /ftp/spegla
parent62b71e98f65544d6aa2ec01260e23799eb249a16 (diff)
downloadports-8a815a6a69641fa04a0936186df22eb1496ac52e.tar.gz
ports-8a815a6a69641fa04a0936186df22eb1496ac52e.zip
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)
Notes
Notes: svn path=/head/; revision=441956
Diffstat (limited to 'ftp/spegla')
-rw-r--r--ftp/spegla/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile
index 250b8a3d1005..0ef268ae8eec 100644
--- a/ftp/spegla/Makefile
+++ b/ftp/spegla/Makefile
@@ -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}