From leeym@utopia.leeym.com  Sun Sep 11 09:06:31 2005
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 691FE16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 09:06:31 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr35.hinet.net (msr35.hinet.net [168.95.4.135])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 43FA543D60
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 09:06:29 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr35.hinet.net (8.9.3/8.9.3) with ESMTP id RAA25458;
	Sun, 11 Sep 2005 17:05:46 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id A0B36B29CDB;
	Sun, 11 Sep 2005 17:06:15 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
 by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 21461-07; Sun, 11 Sep 2005 17:06:09 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id BA7EAB29CD5; Sun, 11 Sep 2005 17:06:09 +0800 (CST)
Message-Id: <20050911090609.BA7EAB29CD5@utopia.leeym.com>
Date: Sun, 11 Sep 2005 17:06:09 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: edwin@mavetju.org
Subject: [PATCH] emulators/m2000: fix plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         85968
>Category:       ports
>Synopsis:       [PATCH] emulators/m2000: fix plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 09:10:07 GMT 2005
>Closed-Date:    Sun Sep 11 09:32:57 GMT 2005
>Last-Modified:  Sun Sep 11 09:32:57 GMT 2005
>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@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@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
-
-@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
+@dirrm %%DATADIR%%
--- m2000-0.6.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 11 09:32:53 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85968 
>Unformatted:
