ports/139713: [PATCH] astro/sscalc: File pkg-plist incorporated to Makefile.
Sylvio Cesar
scjamorim at bsd.com.br
Sun Oct 18 00:50:02 UTC 2009
>Number: 139713
>Category: ports
>Synopsis: [PATCH] astro/sscalc: File pkg-plist incorporated to Makefile.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 18 00:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sylvio Cesar
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009
>Description:
- Added pkg-plist to Makefile
- Added PLIST_FILES
Removed file(s):
- pkg-plist
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- sscalc-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/sscalc/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile 16 Dec 2007 11:43:31 -0000 1.6
+++ Makefile 18 Oct 2009 00:39:40 -0000
@@ -15,6 +15,10 @@
MAN1= sscalc.1
+PLIST_FILES= bin/sscalc
+
+PORTDOCS= README cities.txt
+
pre-fetch:
.if !defined(LAT)
@${ECHO_MSG} "Type \"make LAT=<nnn.nn> LON=<nnn.nn>\" to hardwire your site"
@@ -27,8 +31,9 @@
${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}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 19 Aug 2003 10:35:19 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-bin/sscalc
-%%PORTDOCS%%%%DOCSDIR%%/cities.txt
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- sscalc-1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list