diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:17:19 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:17:19 +0800 |
commit | 538c03f361781e983c63efff7e637cd3e5a2585e (patch) | |
tree | 199071ec83841fb90c050f16343cb210ab9679c1 /ftp/spegla | |
parent | 3783398e9a65e0b88f9c73392d35343102c8106d (diff) | |
download | freebsd-ports-gnome-538c03f361781e983c63efff7e637cd3e5a2585e.tar.gz freebsd-ports-gnome-538c03f361781e983c63efff7e637cd3e5a2585e.tar.zst freebsd-ports-gnome-538c03f361781e983c63efff7e637cd3e5a2585e.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)
Diffstat (limited to 'ftp/spegla')
-rw-r--r-- | ftp/spegla/Makefile | 5 |
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} |