ports/161615: Update port: astro/planets
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 14 18:50:17 UTC 2011
>Number: 161615
>Category: ports
>Synopsis: Update port: astro/planets
>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: Fri Oct 14 18:50:16 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Add LICENSE
- Support PORTDOCS/PLIST_FILES
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/astro/planets/Makefile astro/planets/Makefile
--- /usr/ports/astro/planets/Makefile 2007-07-24 21:42:50.000000000 +0900
+++ astro/planets/Makefile 2011-09-23 17:49:34.000000000 +0900
@@ -9,10 +9,13 @@
PORTNAME= planets
PORTVERSION= 0.1.13
CATEGORIES= astro
-MASTER_SITES= http://planets.homedns.org/dist/ \
- http://sheepkiller.nerim.net/ports/${PORTNAME}/
+MASTER_SITES= GENTOO/distfiles \
+ http://planets.homedns.org/dist/
EXTRACT_SUFX= .tgz
+LICENSE= GPLv2 # (or later)
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
MAINTAINER= ports at FreeBSD.org
COMMENT= An orbital simulator
@@ -21,7 +24,9 @@
USE_GMAKE= yes
ALL_TARGET= ${PORTNAME}
-MAN1= planets.1
+MAN1= planets.1
+PORTDOCS= KEYBINDINGS.txt getting_started.html
+PLIST_FILES= bin/planets
.if defined(WITHOUT_X11)
BROKEN= Does not build without X11 support
@@ -32,8 +37,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 doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
diff -urN /usr/ports/astro/planets/pkg-descr astro/planets/pkg-descr
--- /usr/ports/astro/planets/pkg-descr 2005-11-25 21:10:15.000000000 +0900
+++ astro/planets/pkg-descr 2011-09-23 17:26:39.000000000 +0900
@@ -1,2 +1,4 @@
Planets is a simple interactive program for playing with simulations of
planetary systems.
+
+WWW: http://planets.homedns.org/
diff -urN /usr/ports/astro/planets/pkg-plist astro/planets/pkg-plist
--- /usr/ports/astro/planets/pkg-plist 2003-10-21 07:14:05.000000000 +0900
+++ astro/planets/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,4 +0,0 @@
-bin/planets
-%%PORTDOCS%%%%DOCSDIR%%/KEYBINDINGS.txt
-%%PORTDOCS%%%%DOCSDIR%%/getting_started.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list