From owner-svn-ports-head@freebsd.org Sun May 28 23:17:20 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A74D4D85803; Sun, 28 May 2017 23:17:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76933157F; Sun, 28 May 2017 23:17:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4SNHJEM054033; Sun, 28 May 2017 23:17:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4SNHJFx054032; Sun, 28 May 2017 23:17:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705282317.v4SNHJFx054032@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 28 May 2017 23:17:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441956 - head/ftp/spegla X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2017 23:17:20 -0000 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}