ports/85968: [PATCH] emulators/m2000: fix plist
Yen-Ming Lee
leeym at FreeBSD.org
Sun Sep 11 09:10:09 UTC 2005
>Number: 85968
>Category: ports
>Synopsis: [PATCH] emulators/m2000: fix plist
>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 Sep 11 09:10:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Aug 31 08:25:05 CST 2005
>Description:
- fix plist
- utilize DATADIR
- follow the naming rule of COMMENT
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-comment.html
Port maintainer (edwin at mavetju.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2005051203/m2000-0.6.log
>Fix:
--- m2000-0.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/m2000/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 6 Sep 2005 22:23:19 -0000 1.4
+++ Makefile 11 Sep 2005 09:00:41 -0000
@@ -21,7 +21,7 @@
EXTRACT_ONLY= ${PORTNAME:U}${EXTRACT_SUFX}
MAINTAINER= edwin at mavetju.org
-COMMENT= M2000 is a portable emulator for the P2000 home computer
+COMMENT= A portable emulator for the P2000 home computer
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
@@ -48,6 +48,7 @@
USE_XLIB= yes
SUB_FILES= m2000.sh
+PORTDOCS= M2000.txt
post-extract:
${MKDIR} ${WRKDIR}/tapeconv
@@ -65,8 +66,10 @@
@${INSTALL_DATA} ${WRKSRC}/P2000ROM.bin ${PREFIX}/share/m2000
@${INSTALL_DATA} ${WRKSRC}/Default.fnt ${PREFIX}/share/m2000
@${INSTALL_DATA} ${WRKSRC}/BASIC.bin ${PREFIX}/share/m2000
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/M2000.txt ${DOCSDIR}
+.endif
.for f in ${M2000TAPES}
@${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${f}.gz > ${WRKDIR}/${f}
@${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/m2000
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/emulators/m2000/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 28 Aug 2005 10:36:18 -0000 1.1
+++ pkg-plist 11 Sep 2005 09:00:41 -0000
@@ -1,30 +1,24 @@
bin/m2000
bin/tapeconv
-
-share/m2000/m2000
-
-share/m2000/P2000ROM.bin
-share/m2000/BASIC.bin
-share/m2000/Default.fnt
-
-share/m2000/3DDoolhof2.cas
-share/m2000/BrickWall.cas
-share/m2000/Componist.cas
-share/m2000/ElevatorHumpie.cas
-share/m2000/ErrorSoft1.cas
-share/m2000/Fraxxon.cas
-share/m2000/KleurenDemo.cas
-share/m2000/LazyBug.cas
-share/m2000/MachoMan.cas
-share/m2000/MonkeyKong.cas
-share/m2000/Snakey.cas
-share/m2000/SpaceAttack.cas
-share/m2000/SpaceFight.cas
-share/m2000/SpaceMission.cas
-share/m2000/SpeelPalijs.cas
-share/m2000/StarTrek.cas
-share/m2000/VluchtSimulator.cas
-
-%%DOCSDIR%%/M2000.txt
-
- at dirrm share/m2000
+%%DATADIR%%/m2000
+%%DATADIR%%/P2000ROM.bin
+%%DATADIR%%/BASIC.bin
+%%DATADIR%%/Default.fnt
+%%DATADIR%%/3DDoolhof2.cas
+%%DATADIR%%/BrickWall.cas
+%%DATADIR%%/Componist.cas
+%%DATADIR%%/ElevatorHumpie.cas
+%%DATADIR%%/ErrorSoft1.cas
+%%DATADIR%%/Fraxxon.cas
+%%DATADIR%%/KleurenDemo.cas
+%%DATADIR%%/LazyBug.cas
+%%DATADIR%%/MachoMan.cas
+%%DATADIR%%/MonkeyKong.cas
+%%DATADIR%%/Snakey.cas
+%%DATADIR%%/SpaceAttack.cas
+%%DATADIR%%/SpaceFight.cas
+%%DATADIR%%/SpaceMission.cas
+%%DATADIR%%/SpeelPalijs.cas
+%%DATADIR%%/StarTrek.cas
+%%DATADIR%%/VluchtSimulator.cas
+ at dirrm %%DATADIR%%
--- m2000-0.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list