aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gide
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
commit30fb8569371544b140cbfbe9d8d545a551b7a815 (patch)
treecf43db91e2cefcf20de68716f427d533c59601f6 /devel/gide
parentcea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff)
downloadfreebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.gz
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.zst
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.zip
Implement USE_GNOME, part 1.
Diffstat (limited to 'devel/gide')
-rw-r--r--devel/gide/Makefile15
-rw-r--r--devel/gide/files/patch-bb22
2 files changed, 5 insertions, 32 deletions
diff --git a/devel/gide/Makefile b/devel/gide/Makefile
index 12d3a3ee6cd3..baa952b41160 100644
--- a/devel/gide/Makefile
+++ b/devel/gide/Makefile
@@ -13,19 +13,14 @@ MASTER_SITE_SUBDIR= unstable/sources/gIDE
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \
- glade.4:${PORTSDIR}/devel/libglade \
+LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade \
guile.9:${PORTSDIR}/lang/guile
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gide.1 gdbio.1
@@ -34,12 +29,12 @@ PLIST_SUB= VERSION=${PORTVERSION}
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ 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\)/locale|\$\(prefix\)/share/locale|g'
-
-post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c
@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/src/*.c
diff --git a/devel/gide/files/patch-bb b/devel/gide/files/patch-bb
index 28789b97b335..dc537e6b474f 100644
--- a/devel/gide/files/patch-bb
+++ b/devel/gide/files/patch-bb
@@ -12,25 +12,3 @@
if eval "test \"`echo '$''{'am_cv_gnu_regex'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-@@ -5163,15 +5164,15 @@
- fi
-
-
-- USE_INCLUDED_LIBINTL=yes
-+ USE_INCLUDED_LIBINTL=no
- CATOBJEXT=.gmo
- INSTOBJEXT=.mo
- DATADIRNAME=share
-- INTLDEPS='$(top_builddir)/intl/libintl.a'
-- INTLLIBS=$INTLDEPS
-- LIBS=`echo $LIBS | sed -e 's/-lintl//'`
-- nls_cv_header_intl=intl/libintl.h
-- nls_cv_header_libgt=intl/libgettext.h
-+ INTLDEPS=
-+ INTLLIBS=
-+ LIBS='-lintl'
-+ nls_cv_header_intl=
-+ nls_cv_header_libgt=
- fi
-
- if test "$XGETTEXT" != ":"; then