diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-19 10:35:19 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-19 10:35:19 +0000 |
commit | 8187eb918d97cf13399d0cc0966cac586d2bc353 (patch) | |
tree | e5eb46d4399e9c09c3d22d795f3e903289c3b01c /astro/sscalc | |
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')
-rw-r--r-- | astro/sscalc/Makefile | 15 | ||||
-rw-r--r-- | astro/sscalc/pkg-descr | 2 | ||||
-rw-r--r-- | astro/sscalc/pkg-plist | 6 |
3 files changed, 14 insertions, 9 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> diff --git a/astro/sscalc/pkg-descr b/astro/sscalc/pkg-descr index 12d8a246e45a..ed0f88abd61c 100644 --- a/astro/sscalc/pkg-descr +++ b/astro/sscalc/pkg-descr @@ -7,3 +7,5 @@ http://www.srrb.noaa.gov/highlights/sunrise/gen.html The page was written by Aaron Horiuchi, Chris Lehman and Chris Cornwall. + +WWW: http://www.icehouse.net/kew/ diff --git a/astro/sscalc/pkg-plist b/astro/sscalc/pkg-plist index 4570016fd999..c0ce4fc30527 100644 --- a/astro/sscalc/pkg-plist +++ b/astro/sscalc/pkg-plist @@ -1,4 +1,4 @@ bin/sscalc -share/doc/sscalc/cities.txt -share/doc/sscalc/README -@dirrm share/doc/sscalc +%%PORTDOCS%%%%DOCSDIR%%/cities.txt +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |