summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/ghex2/Makefile11
-rw-r--r--editors/ghex2/distinfo2
2 files changed, 7 insertions, 6 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile
index 3336e2cee16d..83cb72cfa88d 100644
--- a/editors/ghex2/Makefile
+++ b/editors/ghex2/Makefile
@@ -6,18 +6,18 @@
#
PORTNAME= ghex2
-PORTVERSION= 2.0.0
+PORTVERSION= 2.2.0
CATEGORIES= editors gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.0
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.2
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= gailutil.17:${PORTSDIR}/x11-toolkits/gail \
- gnomeprintui-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \
- gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+ gnomeprintui-2-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \
+ gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -25,11 +25,12 @@ USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack
USE_LIBTOOL= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-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
.include <bsd.port.mk>
diff --git a/editors/ghex2/distinfo b/editors/ghex2/distinfo
index 2f43cbe70382..5ebfc779a442 100644
--- a/editors/ghex2/distinfo
+++ b/editors/ghex2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/ghex-2.0.0.tar.bz2) = 9c5f07cd4cd79c3e7ab0dce3e928c9b3
+MD5 (gnome2/ghex-2.2.0.tar.bz2) = 9a1633566657292c7b85b51c55542f19