ports/55402: Update port: astro/sscalc fix manpage installation to wrong dir

Kang Liu lazykang at hotmail.com
Sun Aug 17 13:40:14 UTC 2003


The following reply was made to PR ports/55402; it has been noted by GNATS.

From: "Kang Liu" <lazykang at hotmail.com>
To: freebsd-gnats-submit at FreeBSD.org, ejk at iki.fi
Cc:  
Subject: Re: ports/55402: Update port: astro/sscalc fix manpage installation to wrong dir
Date: Sun, 17 Aug 2003 21:33:13 +0800

 I think you forget to dump PORTREVISION.
 
 --- Makefile.orig	Fri Aug  8 12:40:38 2003
 +++ Makefile	Sun Aug 17 21:30:32 2003
 @@ -7,13 +7,14 @@
 
 PORTNAME=	sscalc
 PORTVERSION=	1.0
 +PORTREVISION=	1
 CATEGORIES=	astro
 MASTER_SITES=	http://www.icehouse.net/kew/
 
 MAINTAINER=	kew at icehouse.net
 COMMENT=	A sunrise/sunset time calculator
 
 -BROKEN=		"Installs manpage into wrong directory"
 +MAN1=		sscalc.1
 
 pre-fetch:
 .if !defined(LAT)
 @@ -22,10 +23,13 @@
 	@${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>
 
 _________________________________________________________________
 Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
 http://join.msn.com/?page=features/junkmail
 



More information about the freebsd-ports-bugs mailing list