aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpaint
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 19:06:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 19:06:30 +0000
commitc0633510da317c661ae44bc821eb97649ae74106 (patch)
tree7ef93f9f261eb1db468322db19874df79369ff2e /graphics/gpaint
parent19efd8ae750737b6ea17c74e1c680e35597d984a (diff)
downloadports-c0633510da317c661ae44bc821eb97649ae74106.tar.gz
ports-c0633510da317c661ae44bc821eb97649ae74106.zip
Notes
Diffstat (limited to 'graphics/gpaint')
-rw-r--r--graphics/gpaint/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/gpaint/Makefile b/graphics/gpaint/Makefile
index a6f0a1852224..6fa991d76c08 100644
--- a/graphics/gpaint/Makefile
+++ b/graphics/gpaint/Makefile
@@ -14,16 +14,14 @@ MAINTAINER= sobomax@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gdkpixbuf gnomeprint
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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'
.include <bsd.port.mk>