From owner-svn-ports-all@FreeBSD.ORG Sat Sep 29 14:19:28 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E32BA106564A; Sat, 29 Sep 2012 14:19:28 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CDD8A8FC0C; Sat, 29 Sep 2012 14:19:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8TEJSD8038184; Sat, 29 Sep 2012 14:19:28 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8TEJSW6038182; Sat, 29 Sep 2012 14:19:28 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201209291419.q8TEJSW6038182@svn.freebsd.org> From: Alexey Dokuchaev Date: Sat, 29 Sep 2012 14:19:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305037 - head/astro/stellarium X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 14:19:29 -0000 Author: danfe Date: Sat Sep 29 14:19:28 2012 New Revision: 305037 URL: http://svn.freebsd.org/changeset/ports/305037 Log: - Adjust Makefile header per new world order - Convert to new OPTIONS framework Modified: head/astro/stellarium/Makefile Modified: head/astro/stellarium/Makefile ============================================================================== --- head/astro/stellarium/Makefile Sat Sep 29 13:52:46 2012 (r305036) +++ head/astro/stellarium/Makefile Sat Sep 29 14:19:28 2012 (r305037) @@ -1,9 +1,5 @@ -# New ports collection makefile for: Stellarium -# Date created: 26 Jan 2004 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD$ -# PORTNAME= stellarium PORTVERSION= 0.11.4 @@ -28,14 +24,15 @@ MAKE_JOBS_SAFE= yes MAN1= ${PORTNAME}.1 PORTDOCS= AUTHORS ChangeLog README -OPTIONS= MORE_STARS "Install extra star catalogs (1.2GB)" off +OPTIONS_DEFINE= MORE_STARS DOCS +MORE_STARS_DESC= Install extra star catalogs (1.2GB) .include -.if defined(WITH_MORE_STARS) -.for i in 4 5 6 7 8 +.if ${PORT_OPTIONS:MMORE_STARS} +. for i in 4 5 6 7 8 MASTER_SITES+= SF/${PORTNAME}/Extra-data-files/stars${i}:stars${i} -.endfor +. endfor DISTFILES+= stars_4_1v0_0.cat:stars4 stars_5_2v0_0.cat:stars5 \ stars_6_2v0_0.cat:stars6 stars_7_2v0_0.cat:stars7 \ stars_8_2v0_0.cat:stars8 @@ -53,11 +50,11 @@ post-patch: .SILENT cd ${WRKSRC}/src/core/external && ${MV} fixx11h.h fixx11qt4h.h post-install: -.if defined(WITH_MORE_STARS) +.if ${PORT_OPTIONS:MMORE_STARS} ${INSTALL_DATA} ${DISTDIR}/stars_[45678]_[12]v0_0.cat \ ${DATADIR}/stars/default .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif