summaryrefslogtreecommitdiff
path: root/editors/gedit2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-26 09:18:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-06-26 09:18:37 +0000
commit58d6153c1e523d4aeede7753ecf4879e60825b69 (patch)
treeb731abccc22c5da200d9004c6ef85df0fd11f659 /editors/gedit2
parentRemove librep2. librep and librep2 are now in sync. (diff)
Update to GNOME 2.0 RC2.
Notes
Notes: svn path=/head/; revision=62009
Diffstat (limited to 'editors/gedit2')
-rw-r--r--editors/gedit2/Makefile14
-rw-r--r--editors/gedit2/distinfo2
2 files changed, 9 insertions, 7 deletions
diff --git a/editors/gedit2/Makefile b/editors/gedit2/Makefile
index 334cffb0ff29..a6548ab67d3e 100644
--- a/editors/gedit2/Makefile
+++ b/editors/gedit2/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= gedit2
-PORTVERSION= 1.199.0
+PORTVERSION= 2.0.0
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc1
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-rc2
+DISTNAME= gedit-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
@@ -21,6 +22,7 @@ WRKSRC= ${WRKDIR}/gedit-${PORTVERSION}
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
@@ -30,10 +32,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${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'
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
+ s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>
diff --git a/editors/gedit2/distinfo b/editors/gedit2/distinfo
index e73413756e56..0b550d2aed9b 100644
--- a/editors/gedit2/distinfo
+++ b/editors/gedit2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/gedit2-1.199.0.tar.bz2) = 95d715bb407bf58f1c70d7f791404856
+MD5 (gnome2/gedit-2.0.0.tar.bz2) = cf400aa1510a51aab9a2a02482aeed2b