From owner-svn-ports-head@FreeBSD.ORG Sat Dec 29 22:42:35 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 773CEC5E; Sat, 29 Dec 2012 22:42:35 +0000 (UTC) (envelope-from bapt@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 3DC5B8FC08; Sat, 29 Dec 2012 22:42:35 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBTMgZHm064436; Sat, 29 Dec 2012 22:42:35 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBTMgZIk064435; Sat, 29 Dec 2012 22:42:35 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201212292242.qBTMgZIk064435@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 29 Dec 2012 22:42:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309637 - head/astro/xtide 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: Sat, 29 Dec 2012 22:42:35 -0000 Author: bapt Date: Sat Dec 29 22:42:34 2012 New Revision: 309637 URL: http://svnweb.freebsd.org/changeset/ports/309637 Log: Convert to new options framework Trim headers PR: ports/173816 Submitted by: Chris Petrik Approved by: maintainer timeout (1 month) Modified: head/astro/xtide/Makefile Modified: head/astro/xtide/Makefile ============================================================================== --- head/astro/xtide/Makefile Sat Dec 29 22:36:25 2012 (r309636) +++ head/astro/xtide/Makefile Sat Dec 29 22:42:34 2012 (r309637) @@ -1,9 +1,5 @@ -# New ports collection makefile for: xtide -# Date created: 30 August 1997 -# Whom: Brion Moss -# +# Created by: Brion Moss # $FreeBSD$ -# PORTNAME= xtide PORTVERSION= 2.12.1 @@ -37,19 +33,18 @@ TCD_DISTNAME= libtcd-2.2.5 HARM_DISTNAME= harmonics-dwf-20120302 WVS_DISTNAME= wvs -OPTIONS= WVS "Use world vector shoreline data (big file!)" Off +OPTIONS_DEFINE= WVS X11 +WVS_DESC= Use world vector shoreline data (big file!) .include -.include -.if !defined(WITHOUT_WVS) +.if ${PORT_OPTIONS:MWVS} DISTFILES+= ${WVS_DISTNAME}${EXTRACT_SUFX} PLIST_SUB+= WVS="" -.else -PLIST_SUB+= WVS="@comment " +.elsePLIST_SUB+= WVS="@comment " .endif -.if defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} PKGNAMESUFFIX+= -nox11 ALL_TARGET+= tide xttpd PLIST_SUB+= X11="@comment " @@ -83,7 +78,7 @@ post-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xtide.1 ${MANPREFIX}/man/man1 .endif @@ -100,7 +95,7 @@ post-install: ${CHMOD} 644 ${PREFIX}/etc/xtide.conf .endif -.if !defined(WITHOUT_WVS) +.if ${PORT_OPTIONS:MWVS} @${MKDIR} ${DATADIR}/wvs ${INSTALL_DATA} ${WRKDIR}/wvs1.dat ${DATADIR}/wvs ${INSTALL_DATA} ${WRKDIR}/wvs12.dat ${DATADIR}/wvs @@ -110,4 +105,4 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/wvsfull.dat ${DATADIR}/wvs .endif -.include +.include