diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
commit | 30fb8569371544b140cbfbe9d8d545a551b7a815 (patch) | |
tree | cf43db91e2cefcf20de68716f427d533c59601f6 /devel/glade/Makefile | |
parent | cea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff) | |
download | FreeBSD-ports-30fb8569371544b140cbfbe9d8d545a551b7a815.zip FreeBSD-ports-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.gz |
Implement USE_GNOME, part 1.
Diffstat (limited to 'devel/glade/Makefile')
-rw-r--r-- | devel/glade/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/devel/glade/Makefile b/devel/glade/Makefile index cbf755a..4654063 100644 --- a/devel/glade/Makefile +++ b/devel/glade/Makefile @@ -13,17 +13,22 @@ MASTER_SITE_SUBDIR= stable/sources/glade MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs -RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - FETCH_BEFORE_ARGS= -b USE_X_PREFIX= yes +USE_GNOME= yes USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/libs" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|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\)/\@PACKAGE\@|\$\(prefix\)/share/\@PACKAGE\@|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + .include <bsd.port.mk> |