From aa133ae1d73ed314e4f705d10253093ab83dfbd0 Mon Sep 17 00:00:00 2001 From: ahze Date: Mon, 27 Jun 2005 03:04:05 +0000 Subject: - Fix plist - Fix build & runtime PR: ports/82674 Submitted by: Ports Fury --- games/gretools/Makefile | 8 +++++--- games/gretools/pkg-plist | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/gretools/Makefile b/games/gretools/Makefile index 737dff8..62c1f2d 100644 --- a/games/gretools/Makefile +++ b/games/gretools/Makefile @@ -15,18 +15,20 @@ MASTER_SITE_SUBDIR= ${PORTVERSION:R} MAINTAINER= ports@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 diff --git a/games/gretools/pkg-plist b/games/gretools/pkg-plist index 35eddc0..7e1772d 100644 --- a/games/gretools/pkg-plist +++ b/games/gretools/pkg-plist @@ -19,3 +19,5 @@ share/gnome/pixmaps/gretools.png @dirrm share/gnome/gretools/glade @dirrm share/gnome/gretools @dirrm %%PYTHON_SITELIBDIR%%/gretools +@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true +@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true -- cgit v1.1