From nemysis@gmx.ch  Fri Nov 23 18:36:14 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 74623313
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Nov 2012 18:36:14 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])
	by mx1.freebsd.org (Postfix) with SMTP id D3A948FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Nov 2012 18:36:13 +0000 (UTC)
Received: (qmail invoked by alias); 23 Nov 2012 18:36:04 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp001) with SMTP; 23 Nov 2012 19:36:04 +0100
Received: by something.email.com (sSMTP sendmail emulation); Fri, 23 Nov 2012 19:36:03 +0100
Message-Id: <20121123183614.74623313@hub.freebsd.org>
Date: Fri, 23 Nov 2012 19:36:03 +0100
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] games/frotz: update to 2.43d, take maintainership, OptionsNG
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         173870
>Category:       ports
>Synopsis:       [PATCH] games/frotz: update to 2.43d, take maintainership, OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 18:40:00 UTC 2012
>Closed-Date:    Wed Nov 28 21:28:18 UTC 2012
>Last-Modified:  Wed Nov 28 21:28:18 UTC 2012
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 2.43d
- Take maintainership

Makefile changed:
+MAN6=		frotz.6 dfrotz.6
+PORTDOCS=	AUTHORS BUGS ChangeLog HOW_TO_PLAY README
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MEXAMPLES}

Changed and refined:
 do-install:

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

portlint -A
WARN: Makefile: possible use of absolute pathname "/dev/dsp".

WARN: Makefile: because is used
 		SOUND_DEV="/dev/dsp" INCL="" LIB=""

port test: clean

Can't give build log, because RedPorts not works at the time.

>Fix:

--- frotz-2.43d.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/frotz/Makefile ./Makefile
--- /usr/ports/games/frotz/Makefile	2012-11-16 09:01:34.000000000 +0100
+++ ./Makefile	2012-11-23 19:12:53.000000000 +0100
@@ -6,13 +6,12 @@
 #
 
 PORTNAME=	frotz
-PORTVERSION=	2.43
-PORTREVISION=	1
+PORTVERSION=	2.43d
 CATEGORIES=	games
-MASTER_SITES=	SF \
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2.43/ \
 		http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Infocom games interpreter
 
 LICENSE=	GPLv2 # (or later)
@@ -22,21 +21,25 @@
 		SOUND_DEV="/dev/dsp" INCL="" LIB=""
 MAKE_JOBS_SAFE=	yes
 
-MAN6=		frotz.6
-PORTDOCS=	BUGS HOW_TO_PLAY README
+MAN6=		frotz.6 dfrotz.6
+PORTDOCS=	AUTHORS BUGS ChangeLog HOW_TO_PLAY README
 PORTEXAMPLES=	frotz.conf-big frotz.conf-small
 PLIST_FILES=	bin/frotz
 
+.include <bsd.port.options.mk>
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 ${MANPREFIX}/man/man6
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.for m in ${MAN6}
+	${INSTALL_MAN} ${WRKSRC}/doc/${m} ${MAN6PREFIX}/man/man6
 .endfor
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
-.if !defined(NOPORTEXAMPLES)
+
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 .for ex in ${PORTEXAMPLES}
 	${INSTALL_DATA} ${WRKSRC}/doc/${ex} ${EXAMPLESDIR}
diff -ruN --exclude=CVS /usr/ports/games/frotz/distinfo ./distinfo
--- /usr/ports/games/frotz/distinfo	2012-11-16 09:01:34.000000000 +0100
+++ ./distinfo	2012-11-23 15:47:26.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (frotz-2.43.tar.gz) = f831eae9182e4a1407a34cb1098a4f5ad5ad6c6632e34eed734b9601a06a764b
-SIZE (frotz-2.43.tar.gz) = 160771
+SHA256 (frotz-2.43d.tar.gz) = c56a2f77f630db04ad968fc7c0b2114e3f855fdae8ce226e600f20dcba2c5985
+SIZE (frotz-2.43d.tar.gz) = 203962
--- frotz-2.43d.patch ends here ---

>Release-Note:
>Audit-Trail:

From: nemysis <nemysis@gmx.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173870: [PATCH] games/frotz: update to 2.43d, take
 maintainership, OptionsNG
Date: Fri, 23 Nov 2012 19:47:52 +0100

 --MP_/ySVp3A1SjefYczXUNV1gFt6
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 
 --MP_/ySVp3A1SjefYczXUNV1gFt6
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=frotz.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/games/frotz/Makefile ./Makefile
 --- /usr/ports/games/frotz/Makefile	2012-11-16 09:01:34.000000000 +0100
 +++ ./Makefile	2012-11-23 19:44:08.000000000 +0100
 @@ -6,13 +6,12 @@
  #
  
  PORTNAME=	frotz
 -PORTVERSION=	2.43
 -PORTREVISION=	1
 +PORTVERSION=	2.43d
  CATEGORIES=	games
 -MASTER_SITES=	SF \
 +MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2.43/ \
  		http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	nemysis@gmx.ch
  COMMENT=	Infocom games interpreter
  
  LICENSE=	GPLv2 # (or later)
 @@ -22,21 +21,25 @@
  		SOUND_DEV="/dev/dsp" INCL="" LIB=""
  MAKE_JOBS_SAFE=	yes
  
 -MAN6=		frotz.6
 -PORTDOCS=	BUGS HOW_TO_PLAY README
 +MAN6=		frotz.6 dfrotz.6
 +PORTDOCS=	AUTHORS BUGS ChangeLog DUMB HOW_TO_PLAY README
  PORTEXAMPLES=	frotz.conf-big frotz.conf-small
  PLIST_FILES=	bin/frotz
  
 +.include <bsd.port.options.mk>
 +
  do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
 -	${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 ${MANPREFIX}/man/man6
 -.if !defined(NOPORTDOCS)
 -	@${MKDIR} ${DOCSDIR}
 -.for doc in ${PORTDOCS}
 -	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 +.for m in ${MAN6}
 +	${INSTALL_MAN} ${WRKSRC}/doc/${m} ${MAN6PREFIX}/man/man6
  .endfor
 +
 +.if ${PORT_OPTIONS:MDOCS}
 +	${MKDIR} ${DOCSDIR}
 +	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
  .endif
 -.if !defined(NOPORTEXAMPLES)
 +
 +.if ${PORT_OPTIONS:MEXAMPLES}
  	@${MKDIR} ${EXAMPLESDIR}
  .for ex in ${PORTEXAMPLES}
  	${INSTALL_DATA} ${WRKSRC}/doc/${ex} ${EXAMPLESDIR}
 diff -ruN --exclude=CVS /usr/ports/games/frotz/distinfo ./distinfo
 --- /usr/ports/games/frotz/distinfo	2012-11-16 09:01:34.000000000 +0100
 +++ ./distinfo	2012-11-23 15:47:26.000000000 +0100
 @@ -1,2 +1,2 @@
 -SHA256 (frotz-2.43.tar.gz) = f831eae9182e4a1407a34cb1098a4f5ad5ad6c6632e34eed734b9601a06a764b
 -SIZE (frotz-2.43.tar.gz) = 160771
 +SHA256 (frotz-2.43d.tar.gz) = c56a2f77f630db04ad968fc7c0b2114e3f855fdae8ce226e600f20dcba2c5985
 +SIZE (frotz-2.43d.tar.gz) = 203962
 ===> Done
 
 --MP_/ySVp3A1SjefYczXUNV1gFt6--
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Wed Nov 28 21:28:17 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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