aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-19 18:35:19 +0800
committerkrion <krion@FreeBSD.org>2003-08-19 18:35:19 +0800
commit0978007eb3ca26947240250b31c5a6bbc9d4542a (patch)
treef6eec6b7a300569960fb26ca7877112a9ef5beeb
parent08c7f3dc4438cfb6d3d8ee6faea0323f53fe2fa5 (diff)
downloadfreebsd-ports-gnome-0978007eb3ca26947240250b31c5a6bbc9d4542a.tar.gz
freebsd-ports-gnome-0978007eb3ca26947240250b31c5a6bbc9d4542a.tar.zst
freebsd-ports-gnome-0978007eb3ca26947240250b31c5a6bbc9d4542a.zip
- 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)
-rw-r--r--astro/sscalc/Makefile15
-rw-r--r--astro/sscalc/pkg-descr2
-rw-r--r--astro/sscalc/pkg-plist6
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%%