View | Details | Raw Unified | Return to bug 55402
Collapse All | Expand All

(-)sscalc/Makefile (-6 / +9 lines)
Lines 13-19 Link Here
13
MAINTAINER=	kew@icehouse.net
13
MAINTAINER=	kew@icehouse.net
14
COMMENT=	A sunrise/sunset time calculator
14
COMMENT=	A sunrise/sunset time calculator
15
15
16
BROKEN=		"Installs manpage into wrong directory"
16
MAN1=		sscalc.1
17
17
18
pre-fetch:
18
pre-fetch:
19
.if !defined(LAT)
19
.if !defined(LAT)
Lines 22-31 Link Here
22
	@${ECHO_MSG} "Compiling in lat/longs"
22
	@${ECHO_MSG} "Compiling in lat/longs"
23
.endif
23
.endif
24
24
25
post-install:
25
do-install:
26
	@strip ${PREFIX}/bin/sscalc
26
	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${PREFIX}/bin
27
	@${MKDIR} ${PREFIX}/share/doc/sscalc
27
	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${MAN1PREFIX}/man/man1
28
	${INSTALL_DATA} ${WRKSRC}/cities.txt ${PREFIX}/share/doc/sscalc
28
.if !defined(NOPORTDOCS)
29
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sscalc
29
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/cities.txt ${DOCSDIR}
31
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
32
.endif
30
33
31
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)sscalc/pkg-descr (+2 lines)
Lines 7-9 Link Here
7
7
8
The page was written by Aaron Horiuchi, Chris Lehman and Chris
8
The page was written by Aaron Horiuchi, Chris Lehman and Chris
9
Cornwall.
9
Cornwall.
10
11
WWW:	http://www.icehouse.net/kew/
(-)sscalc/pkg-plist (-3 / +3 lines)
Lines 1-4 Link Here
1
bin/sscalc
1
bin/sscalc
2
share/doc/sscalc/cities.txt
2
%%PORTDOCS%%%%DOCSDIR%%/cities.txt
3
share/doc/sscalc/README
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
@dirrm share/doc/sscalc
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 55402