ports/162825: Update port: games/frotz to
KATO Tsuguru
tkato432 at yahoo.com
Thu Nov 24 18:20:12 UTC 2011
>Number: 162825
>Category: ports
>Synopsis: Update port: games/frotz to
>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: Thu Nov 24 18:20:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PORTDOCS/PORTEXAMPLES/PLIST_FILES
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/frotz/Makefile games/frotz/Makefile
--- /usr/ports/games/frotz/Makefile 2011-11-05 21:22:10.000000000 +0900
+++ games/frotz/Makefile 2011-11-10 05:04:13.000000000 +0900
@@ -7,26 +7,39 @@
PORTNAME= frotz
PORTVERSION= 2.43
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/ \
- http://wuarchive.wustl.edu/doc/misc/if-archive/infocom/interpreters/frotz/ \
+MASTER_SITES= SF \
http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/
MAINTAINER= ports at FreeBSD.org
COMMENT= Infocom games interpreter
+LICENSE= GPLv2 # (or later)
+
MAKE_ARGS= CC="${CC}" OPTS="${CFLAGS}" PREFIX="${PREFIX}" \
- CONFIG_DIR="${PREFIX}/etc" INCL="" LIB=""
+ CONFIG_DIR="${PREFIX}/etc" SOUND_DEFS="-DOSS_SOUND" \
+ SOUND_DEV="/dev/dsp" INCL="" LIB=""
+MAKE_JOBS_SAFE= yes
MAN6= frotz.6
+PORTDOCS= BUGS HOW_TO_PLAY README
+PORTEXAMPLES= frotz.conf-big frotz.conf-small
+PLIST_FILES= bin/frotz
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 ${MANPREFIX}/man/man6
+ ${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in BUGS HOW_TO_PLAY README
- @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+.for ex in ${PORTEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${ex} ${EXAMPLESDIR}
.endfor
.endif
diff -urN /usr/ports/games/frotz/pkg-descr games/frotz/pkg-descr
--- /usr/ports/games/frotz/pkg-descr 2002-03-12 08:52:48.000000000 +0900
+++ games/frotz/pkg-descr 2011-11-10 01:38:57.000000000 +0900
@@ -7,7 +7,4 @@
of new games available on the Internet. Check the if-archive
at ftp.ifarchive.org.
-WWW: http://www.cs.csubak.edu/~dgriffi/proj/frotz/
-
- -Adam
- adam-ports at blacktabby.org
+WWW: http://frotz.sourceforge.net/
diff -urN /usr/ports/games/frotz/pkg-plist games/frotz/pkg-plist
--- /usr/ports/games/frotz/pkg-plist 2001-06-12 01:50:16.000000000 +0900
+++ games/frotz/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,5 +0,0 @@
-bin/frotz
-%%PORTDOCS%%share/doc/frotz/BUGS
-%%PORTDOCS%%share/doc/frotz/HOW_TO_PLAY
-%%PORTDOCS%%share/doc/frotz/README
-%%PORTDOCS%%@dirrm share/doc/frotz
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list