Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 19:36:03 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173870: [PATCH] games/frotz: update to 2.43d, take maintainership, OptionsNG
Message-ID:  <20121123183614.74623313@hub.freebsd.org>
Resent-Message-ID: <201211231840.qANIe0oQ090625@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 18:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121123183614.74623313>