summaryrefslogtreecommitdiff
path: root/astro/sscalc/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-19 10:35:19 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-19 10:35:19 +0000
commit8187eb918d97cf13399d0cc0966cac586d2bc353 (patch)
treee5eb46d4399e9c09c3d22d795f3e903289c3b01c /astro/sscalc/Makefile
parent- Update to 0.6.6 (diff)
- unbreak this port
- install man page to proper place - use DOCSDIR macro - fix pkg-descr PR: 55365 55402 Submitted by: Esa Karkkainen <ejk@iki.fi> Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Approved by: maintainer timeout (> 10 days)
Notes
Notes: svn path=/head/; revision=87285
Diffstat (limited to 'astro/sscalc/Makefile')
-rw-r--r--astro/sscalc/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/astro/sscalc/Makefile b/astro/sscalc/Makefile
index 5ba3a0dc09d7..77534a08a983 100644
--- a/astro/sscalc/Makefile
+++ b/astro/sscalc/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.icehouse.net/kew/
MAINTAINER= kew@icehouse.net
COMMENT= A sunrise/sunset time calculator
-BROKEN= "Installs manpage into wrong directory"
+MAN1= sscalc.1
pre-fetch:
.if !defined(LAT)
@@ -22,10 +22,13 @@ pre-fetch:
@${ECHO_MSG} "Compiling in lat/longs"
.endif
-post-install:
- @strip ${PREFIX}/bin/sscalc
- @${MKDIR} ${PREFIX}/share/doc/sscalc
- ${INSTALL_DATA} ${WRKSRC}/cities.txt ${PREFIX}/share/doc/sscalc
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sscalc
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cities.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
.include <bsd.port.mk>