ports/139711: [PATCH] astro/planets: Added support to PORTDOCS in Makefile.
Sylvio Cesar
scjamorim at bsd.com.br
Sun Oct 18 00:30:04 UTC 2009
>Number: 139711
>Category: ports
>Synopsis: [PATCH] astro/planets: Added support to PORTDOCS in 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:30:02 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 PORTDOCS in Makefile
- Added PLIST_FILES to reinplace pkg-plist
Removed file(s):
- pkg-plist
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- planets-0.1.13.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/planets/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile 24 Jul 2007 09:47:33 -0000 1.12
+++ Makefile 18 Oct 2009 00:18:55 -0000
@@ -23,6 +23,9 @@
MAN1= planets.1
+PORTDOCS= KEYBINDINGS.txt getting_started.html
+PLIST_FILES= bin/planets
+
.if defined(WITHOUT_X11)
BROKEN= Does not build without X11 support
.endif
@@ -32,8 +35,8 @@
${INSTALL_MAN} ${WRKSRC}/planets.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in KEYBINDINGS.txt getting_started.html
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 20 Oct 2003 22:14:05 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-bin/planets
-%%PORTDOCS%%%%DOCSDIR%%/KEYBINDINGS.txt
-%%PORTDOCS%%%%DOCSDIR%%/getting_started.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- planets-0.1.13.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list