Skip site navigation (1)Skip section navigation (2)
Date:      22 Jun 2005 10:31:22 -0000
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82518: update: games/textmaze 1.0 -> 1.2, unbreak port on 5.x, take maintainership 
Message-ID:  <20050622103122.94167.qmail@mx.critical.ch>
Resent-Message-ID: <200506221040.j5MAe0uG040262@freefall.freebsd.org>

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

>Number:         82518
>Category:       ports
>Synopsis:       update: games/textmaze 1.0 -> 1.2, unbreak port on 5.x, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 10:40:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 4.11-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p2 FreeBSD 4.11-RELEASE-p2 #0: Wed Apr 6 16:53:59 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386


	
>Description:
- update port games/textmaze from version 1.0 to 1.2
- port was broken on 5.4-RELEASE-p2 (didn't try on earlier 5.x releses)
- some stylistic changes
- take maintainership

>How-To-Repeat:
	
>Fix:

	

--- textmaze.diff begins here ---
diff -Nur textmaze.orig/Makefile textmaze/Makefile
--- textmaze.orig/Makefile	Thu Feb  5 21:37:13 2004
+++ textmaze/Makefile	Wed Jun 22 12:21:05 2005
@@ -7,23 +7,27 @@
 #
 
 PORTNAME=	textmaze
-PORTVERSION=	1.0
+PORTVERSION=	1.2
 CATEGORIES=	games perl5
 MASTER_SITES=	http://www.robobunny.com/projects/textmaze/
 DISTNAME=	${PORTNAME}_v${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ehaupt@critical.ch
 COMMENT=	Generates mazes on a text terminal and lets you traverse them
 
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Curses.pm:${PORTSDIR}/devel/p5-Curses
+
 USE_PERL5=	yes
+USE_REINPLACE=	yes
 WRKSRC=		${WRKDIR}/TextMaze
 NO_BUILD=	yes
 PLIST_FILES=	bin/textmaze
 
 post-patch:
-	@${PERL} -pi -e "s,/usr/local/bin/perl,${PERL},g" ${WRKSRC}/textmaze
+	@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \
+		${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/textmaze ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -Nur textmaze.orig/distinfo textmaze/distinfo
--- textmaze.orig/distinfo	Thu Jan 29 08:24:01 2004
+++ textmaze/distinfo	Wed Jun 22 11:36:16 2005
@@ -1,2 +1,2 @@
-MD5 (textmaze_v1.0.tar.gz) = de3360c97f20df36a3a6b1109674d322
-SIZE (textmaze_v1.0.tar.gz) = 14957
+MD5 (textmaze_v1.2.tar.gz) = 46ffd277f178702391eb0c275a71da75
+SIZE (textmaze_v1.2.tar.gz) = 15827
diff -Nur textmaze.orig/pkg-descr textmaze/pkg-descr
--- textmaze.orig/pkg-descr	Sat Sep  8 23:24:03 2001
+++ textmaze/pkg-descr	Wed Jun 22 11:42:06 2005
@@ -1,2 +1,4 @@
 TextMaze generates random mazes on a text terminal and lets you traverse
 them using the arrow keys.
+
+WWW: http://www.robobunny.com/projects/textmaze/
--- textmaze.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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