Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 08:42:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317587 - head/games/textmaze
Message-ID:  <201305070842.r478gUIH012629@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue May  7 08:42:29 2013
New Revision: 317587
URL: http://svnweb.freebsd.org/changeset/ports/317587

Log:
  Convert to use shebangfix USES flag.

Modified:
  head/games/textmaze/Makefile

Modified: head/games/textmaze/Makefile
==============================================================================
--- head/games/textmaze/Makefile	Tue May  7 08:35:40 2013	(r317586)
+++ head/games/textmaze/Makefile	Tue May  7 08:42:29 2013	(r317587)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	textmaze
-# Date created:			Sep 8, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	textmaze
 PORTVERSION=	1.2
@@ -18,17 +13,15 @@ COMMENT=	Generates mazes on a text termi
 
 RUN_DEPENDS=	p5-Curses>=0:${PORTSDIR}/devel/p5-Curses
 
+USES=		shebangfix
 USE_PERL5=	yes
 NO_BUILD=	yes
 
+SHEBANG_FILES=	textmaze
 PLIST_FILES=	bin/textmaze
 
 WRKSRC=		${WRKDIR}/TextMaze
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \
-		${WRKSRC}/${PORTNAME}
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 



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