aboutsummaryrefslogtreecommitdiff
path: root/astro/sscalc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:17:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 14:17:15 +0000
commit93c851b8837d401c5d884fabc46a89993237e087 (patch)
tree714f8e7e5d920c6866d41772b0241dad4c54ab12 /astro/sscalc
parenta6eb5541781264082e640229c23843d7a7b55353 (diff)
downloadports-93c851b8837d401c5d884fabc46a89993237e087.tar.gz
ports-93c851b8837d401c5d884fabc46a89993237e087.zip
Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Trim headers
Notes
Notes: svn path=/head/; revision=309749
Diffstat (limited to 'astro/sscalc')
-rw-r--r--astro/sscalc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/astro/sscalc/Makefile b/astro/sscalc/Makefile
index 80ddf1652b1b..84b75d47988e 100644
--- a/astro/sscalc/Makefile
+++ b/astro/sscalc/Makefile
@@ -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 calculator
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}