ports/131841: Update port: devel/gtgt to 3.2.0

KATO Tsuguru tkato432 at yahoo.com
Wed Feb 18 17:30:10 UTC 2009


>Number:         131841
>Category:       ports
>Synopsis:       Update port: devel/gtgt to 3.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 18 17:30:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 3.2.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/gtgt/Makefile devel/gtgt/Makefile
--- /usr/ports/devel/gtgt/Makefile	2007-09-04 00:09:14.000000000 +0900
+++ devel/gtgt/Makefile	2009-02-10 03:07:55.000000000 +0900
@@ -7,24 +7,33 @@
 #
 
 PORTNAME=	gtgt
-PORTVERSION=	3.0.0
+PORTVERSION=	3.2.0
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	General (or GNU) template generation tools
 
-USE_GNOME=	gnometarget
-GNU_CONFIGURE=	yes
+RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
+
+NO_BUILD=	yes
 
-PLIST_FILES=	bin/gcng bin/gptg bin/gscg
 PORTDOCS=	autoconf.html automake.html \
 		company-license.long company-license.short \
 		gtgt.gif gtgt.html gtgt.txt \
 		index.html libtool.html
+PLIST_FILES=	${SCRIPTS:S/^/bin\//}
+
+SCRIPTS=	gcng gptg gscg
+
+post-patch:
+.for file in ${SCRIPTS}
+	@${REINPLACE_CMD} -e \
+		's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file}
+.endfor
 
 do-install:
-.for file in gcng gptg gscg
+.for file in ${SCRIPTS}
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/bin
 .endfor
 .if !defined(NOPORTDOCS)
diff -urN /usr/ports/devel/gtgt/distinfo devel/gtgt/distinfo
--- /usr/ports/devel/gtgt/distinfo	2007-09-04 00:09:14.000000000 +0900
+++ devel/gtgt/distinfo	2009-02-05 03:32:24.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (gtgt-3.0.0.tar.gz) = d13fddb844e9e5b7508f102c04bf9415
-SHA256 (gtgt-3.0.0.tar.gz) = 6c2158f2743dea115c556bdb1b22f749f8c809a04a3e525c56b9addae9caa588
-SIZE (gtgt-3.0.0.tar.gz) = 709577
+MD5 (gtgt-3.2.0.tar.gz) = 902117aa819d1ef118a1d818a5fca43a
+SHA256 (gtgt-3.2.0.tar.gz) = 78786eed9f2cfaaedcec89617d4b510ea563ddfee71e3c3d684faf15351b75ae
+SIZE (gtgt-3.2.0.tar.gz) = 730692
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list