aboutsummaryrefslogtreecommitdiff
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
parent8748cab92fd1c74d6ee50e6aa29441042017c7ab (diff)
downloadports-58d6153c1e523d4aeede7753ecf4879e60825b69.tar.gz
ports-58d6153c1e523d4aeede7753ecf4879e60825b69.zip
Notes
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