- Fix plist

- Fix build & runtime

PR:		ports/82674
Submitted by:	Ports Fury
This commit is contained in:
Michael Johnson
2005-06-27 03:04:05 +00:00
parent 4984b43ef1
commit cf6be981bf
2 changed files with 7 additions and 3 deletions

View File

@@ -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 <bsd.port.mk>

View File

@@ -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