aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/sawfish2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-06-26 17:18:37 +0800
committermarcus <marcus@FreeBSD.org>2002-06-26 17:18:37 +0800
commit2020612990532d3bbaa247539188442212668edf (patch)
treef5e985cee4fe0d1fbb857affe1e654f6780047d5 /x11-wm/sawfish2/Makefile
parenta44d334a1b8dbb94b0c87c58ae24ab3612713641 (diff)
downloadfreebsd-ports-graphics-2020612990532d3bbaa247539188442212668edf.tar.gz
freebsd-ports-graphics-2020612990532d3bbaa247539188442212668edf.tar.zst
freebsd-ports-graphics-2020612990532d3bbaa247539188442212668edf.zip
Update to GNOME 2.0 RC2.
Diffstat (limited to 'x11-wm/sawfish2/Makefile')
-rw-r--r--x11-wm/sawfish2/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/x11-wm/sawfish2/Makefile b/x11-wm/sawfish2/Makefile
index b88ea2a5728..9972f3b1689 100644
--- a/x11-wm/sawfish2/Makefile
+++ b/x11-wm/sawfish2/Makefile
@@ -6,24 +6,26 @@
#
PORTNAME= sawfish2
-PORTVERSION= 2002.06.11
+PORTVERSION= 2.0
+PORTEPOCH= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc1
-DISTNAME= sawfish-${PORTVERSION:S/./-/g}
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc2
+DISTNAME= sawfish-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= rep.11:${PORTSDIR}/lang/librep2
+LIB_DEPENDS= rep.12:${PORTSDIR}/lang/librep
BUILD_DEPENDS= ${X11BASE}/libexec/rep/${GNUHOST}/gui/gtk-2/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk2
RUN_DEPENDS= ${X11BASE}/libexec/rep/${GNUHOST}/gui/gtk-2/gtk.so:${PORTSDIR}/x11-toolkits/rep-gtk2
GNUHOST= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
-PLIST_SUB= GNUHOST=${GNUHOST} VERSION=2.0.pre1
+PLIST_SUB= GNUHOST=${GNUHOST} VERSION=2.0
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline \
@@ -36,14 +38,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
CONFIGURE_TARGET= ${ARCH}-pc-freebsd${OSREL:C/\..*//}
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" \