diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 15:10:50 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 15:10:50 +0800 |
commit | 30fb8569371544b140cbfbe9d8d545a551b7a815 (patch) | |
tree | cf43db91e2cefcf20de68716f427d533c59601f6 /devel/glade2 | |
parent | cea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff) | |
download | freebsd-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/glade2')
-rw-r--r-- | devel/glade2/Makefile | 17 | ||||
-rw-r--r-- | devel/glade2/pkg-plist | 1 |
2 files changed, 11 insertions, 7 deletions
diff --git a/devel/glade2/Makefile b/devel/glade2/Makefile index cbf755a0f200..46540636d01a 100644 --- a/devel/glade2/Makefile +++ b/devel/glade2/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> diff --git a/devel/glade2/pkg-plist b/devel/glade2/pkg-plist index 0b3b4f6c7b1b..8db740474c64 100644 --- a/devel/glade2/pkg-plist +++ b/devel/glade2/pkg-plist @@ -139,7 +139,6 @@ share/locale/uk/LC_MESSAGES/glade.mo @dirrm share/gnome/help/glade/C/faq @dirrm share/gnome/help/glade/C @dirrm share/gnome/help/glade -@unexec rmdir %D/share/gnome/apps/Development 2>/dev/null || true @dirrm share/glade/gtk @dirrm share/glade/gnome @dirrm share/glade |