mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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)
This commit is contained in:
parent
15982c04b9
commit
8187eb918d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87285
3 changed files with 14 additions and 9 deletions
|
@ -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>
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue