Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 23:17:19 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441956 - head/ftp/spegla
Message-ID:  <201705282317.v4SNHJFx054032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705282317.v4SNHJFx054032>