ports/82674: Update port: games/gretools

KATO Tsuguru tkato432 at yahoo.com
Sun Jun 26 17:10:20 UTC 2005


>Number:         82674
>Category:       ports
>Synopsis:       Update port: games/gretools
>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:   Sun Jun 26 17:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/gretools/Makefile games/gretools/Makefile
--- /usr/ports/games/gretools/Makefile	Sat Mar 12 20:24:03 2005
+++ games/gretools/Makefile	Sun Jun 26 23:19:14 2005
@@ -15,18 +15,20 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	GNOME vocabulary builder
 
-BROKEN=		Incomplete pkg-plist
-
 USE_X_PREFIX=	yes
 USE_GNOME=	gnomehack gnomeprefix gnometarget pygnome2
 USE_PYTHON=	yes
-INSTALLS_OMF=	yes
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+INSTALLS_OMF=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g ; \
 		 s|@prefix@/share/|@datadir@/|g' ${WRKSRC}/gretools.in
+	@${REINPLACE_CMD} -e 's|gtk\.TRUE|True|g ; \
+		 s|gtk\.FALSE|False|g ; \
+		 s|"/share/"|"/share/gnome/"|g ; \
+		 s|gtk\.idle_add|gobject\.idle_add|g' ${WRKSRC}/gretools.py
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gretools/pkg-plist games/gretools/pkg-plist
--- /usr/ports/games/gretools/pkg-plist	Tue Nov 23 13:38:07 2004
+++ games/gretools/pkg-plist	Sun Jun 26 23:25:43 2005
@@ -19,3 +19,5 @@
 @dirrm share/gnome/gretools/glade
 @dirrm share/gnome/gretools
 @dirrm %%PYTHON_SITELIBDIR%%/gretools
+ at unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
+ at unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list