aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:31:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-06-21 12:31:20 +0000
commit8ef4b7cce221f0535081ef1dac72d807cc5a71dc (patch)
tree47f2a2844c846db41f103aaf62aada75ab7c14af /x11-wm
parent1d073d3989a4e7121d855bea6b63fe3c6799f318 (diff)
downloadports-8ef4b7cce221f0535081ef1dac72d807cc5a71dc.tar.gz
ports-8ef4b7cce221f0535081ef1dac72d807cc5a71dc.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/sawfish/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/x11-wm/sawfish/Makefile b/x11-wm/sawfish/Makefile
index 09dda05b532f..e3ab880a7cc7 100644
--- a/x11-wm/sawfish/Makefile
+++ b/x11-wm/sawfish/Makefile
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= stable/sources/sawfish
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= rep.11:${PORTSDIR}/lang/librep
+LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep
BUILD_DEPENDS= ${X11BASE}/libexec/rep/${GNUHOST}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
RUN_DEPENDS= ${X11BASE}/libexec/rep/${GNUHOST}/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
@@ -24,6 +24,7 @@ PLIST_SUB= GNUHOST=${GNUHOST} VERSION=${PORTVERSION}
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_IMLIB= yes
+USE_REINPLACE= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline \
@@ -51,14 +52,14 @@ CONFIGURE_ARGS+=--disable-capplet \
.endif
pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
+ @${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
+ s|[(]top_builddir[)]/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]datadir[)]/aclocal|(prefix)/share/aclocal|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
post-install:
install-info --section="X11 window manager" \