Date: Mon, 31 Dec 2012 14:17:15 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309749 - head/astro/sscalc Message-ID: <201212311417.qBVEHFiA048160@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Dec 31 14:17:15 2012 New Revision: 309749 URL: http://svnweb.freebsd.org/changeset/ports/309749 Log: Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS Trim headers Modified: head/astro/sscalc/Makefile Modified: head/astro/sscalc/Makefile ============================================================================== --- head/astro/sscalc/Makefile Mon Dec 31 14:16:12 2012 (r309748) +++ head/astro/sscalc/Makefile Mon Dec 31 14:17:15 2012 (r309749) @@ -1,9 +1,5 @@ -# New ports collection makefile for: sscalc -# Date created: Wed Nov 29 15:08:00 PST 2000 -# Whom: Keith Walker <kew@icehouse.net> -# +# Created by: Keith Walker <kew@icehouse.net> # $FreeBSD$ -# PORTNAME= sscalc PORTVERSION= 1.0 @@ -15,6 +11,8 @@ COMMENT= A sunrise/sunset time calculato MAN1= sscalc.1 +.include <bsd.port.options.mk> + pre-fetch: .if !defined(LAT) @${ECHO_MSG} "Type \"make LAT=<nnn.nn> LON=<nnn.nn>\" to hardwire your site" @@ -25,7 +23,7 @@ pre-fetch: do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/cities.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311417.qBVEHFiA048160>