aboutsummaryrefslogtreecommitdiff
path: root/print/gnome-print
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 17:16:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 17:16:10 +0000
commit19a718ac4c38750e766de7abf027f0491981495d (patch)
tree8fad9fa05facfd939ca92589f047e5224dffd236 /print/gnome-print
parent47c68887b223642a73baccd0fa69c8caf7845044 (diff)
downloadports-19a718ac4c38750e766de7abf027f0491981495d.tar.gz
ports-19a718ac4c38750e766de7abf027f0491981495d.zip
Notes
Diffstat (limited to 'print/gnome-print')
-rw-r--r--print/gnome-print/Makefile10
-rw-r--r--print/gnome-print/pkg-plist2
2 files changed, 4 insertions, 8 deletions
diff --git a/print/gnome-print/Makefile b/print/gnome-print/Makefile
index 7eb9305f97f3..9c270e8e1a3a 100644
--- a/print/gnome-print/Makefile
+++ b/print/gnome-print/Makefile
@@ -25,18 +25,16 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PERL5= yes
-USE_GNOMECTRL= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehack gnomeprefix gnomehier gnomelibs gnomecanvas
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
post-install:
@${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
diff --git a/print/gnome-print/pkg-plist b/print/gnome-print/pkg-plist
index 4e2857d85f38..e05ba7c0333b 100644
--- a/print/gnome-print/pkg-plist
+++ b/print/gnome-print/pkg-plist
@@ -118,5 +118,3 @@ share/locale/zh_TW/LC_MESSAGES/gnome-print.mo
@dirrm share/gnome/fonts/afms
@dirrm include/gnome-1.0/libgnomeprint
@dirrm etc/gnome/fonts
-@dirrm etc/gnome
-@unexec /bin/rmdir %D/share/gnome/fonts 2>/dev/null || /usr/bin/true