From owner-svn-ports-head@FreeBSD.ORG Tue Dec 18 10:04:43 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24AABBAB; Tue, 18 Dec 2012 10:04:43 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id E33128FC12; Tue, 18 Dec 2012 10:04:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBIA4gSk012037; Tue, 18 Dec 2012 10:04:42 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBIA4gP8012036; Tue, 18 Dec 2012 10:04:42 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201212181004.qBIA4gP8012036@svn.freebsd.org> From: Rene Ladan Date: Tue, 18 Dec 2012 10:04:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309158 - head/shells/fish 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.14 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: Tue, 18 Dec 2012 10:04:43 -0000 Author: rene Date: Tue Dec 18 10:04:42 2012 New Revision: 309158 URL: http://svnweb.freebsd.org/changeset/ports/309158 Log: - Convert to optionsNG - Strip Makefile header Modified: head/shells/fish/Makefile (contents, props changed) Modified: head/shells/fish/Makefile ============================================================================== --- head/shells/fish/Makefile Tue Dec 18 09:54:47 2012 (r309157) +++ head/shells/fish/Makefile Tue Dec 18 10:04:42 2012 (r309158) @@ -1,9 +1,5 @@ -# New ports collection makefile for: fish -# Date created: 2007-02-26 -# Whom: Kai Wang -# +# Created by: Kai Wang # $FreeBSD$ -# PORTNAME= fish PORTVERSION= 1.23.1 @@ -25,8 +21,11 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= LIBS="${LDFLAGS}" CONFIGURE_ARGS= --docdir=${DOCSDIR} -OPTIONS= XSEL "Build with xsel" on \ - DOXYGEN "Build docs with doxygen" on +OPTIONS_DEFINE= XSEL DOXYGEN +OPTIONS_DEFAULT= XSEL DOXYGEN +XSEL_DESC= Build with xsel + +.include MAN1= alias.1 and.1 begin.1 bg.1 bind.1 block.1 \ break.1 breakpoint.1 builtin.1 case.1 cd.1 \ @@ -41,29 +40,26 @@ MAN1= alias.1 and.1 begin.1 bg.1 bind.1 set.1 set_color.1 source.1 status.1 switch.1 \ trap.1 type.1 ulimit.1 umask.1 vared.1 while.1 -.include - # Don't use the bundled xsel CONFIGURE_ARGS+= --without-xsel -.if !defined(WITHOUT_XSEL) +.if ${PORT_OPTIONS:MXSEL} RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel-conrad .endif -.if defined(WITHOUT_DOXYGEN) -NOPORTDOCS= yes -.else +.if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .endif .if ${OSVERSION} > 900008 +# already in base system PLIST_SUB+= SEQ="@comment " .else PLIST_SUB+= SEQ="" .endif post-patch: -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} || ! ${PORT_OPTIONS:MDOXYGEN} @${REINPLACE_CMD} -e 's|$(PROGRAMS) user_doc|$(PROGRAMS)|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 589,593d ${WRKSRC}/Makefile.in @@ -78,4 +74,4 @@ post-install: ${ECHO_CMD} '${PREFIX}/bin/${PORTNAME}' >> /etc/shells; \ fi -.include +.include