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 /audio/yamt | |
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 'audio/yamt')
-rw-r--r-- | audio/yamt/Makefile | 19 | ||||
-rw-r--r-- | audio/yamt/files/patch-aa | 16 | ||||
-rw-r--r-- | audio/yamt/files/patch-ab | 11 |
3 files changed, 31 insertions, 15 deletions
diff --git a/audio/yamt/Makefile b/audio/yamt/Makefile index fc622c171a01..3b5b9c2f0472 100644 --- a/audio/yamt/Makefile +++ b/audio/yamt/Makefile @@ -14,15 +14,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= dima@Chg.RU -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs -RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-gnome=${X11BASE} -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +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\)/locale|\$$\(prefix\)/share/locale|g' .include <bsd.port.mk> diff --git a/audio/yamt/files/patch-aa b/audio/yamt/files/patch-aa index 8ec874f181c6..702068db770a 100644 --- a/audio/yamt/files/patch-aa +++ b/audio/yamt/files/patch-aa @@ -1,11 +1,11 @@ ---- pixmaps/Makefile.in.orig Tue Feb 15 20:09:05 2000 -+++ pixmaps/Makefile.in Thu Feb 17 11:57:57 2000 -@@ -113,7 +113,7 @@ - EXTRA_DIST = yamt-logo.png +--- configure.orig Sat Jun 3 20:35:31 2000 ++++ configure Sat Jun 3 20:36:07 2000 +@@ -4366,7 +4366,7 @@ + + fi + +-PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/${PACKAGE}" ++PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps" --pixmapdir = $(datadir)/pixmaps/yamt -+pixmapdir = $(datadir)/gnome/pixmaps - pixmap_DATA = $(EXTRA_DIST) - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/audio/yamt/files/patch-ab b/audio/yamt/files/patch-ab new file mode 100644 index 000000000000..b1fba12ec832 --- /dev/null +++ b/audio/yamt/files/patch-ab @@ -0,0 +1,11 @@ +--- pixmaps/Makefile.in.orig Sat Jun 3 20:47:40 2000 ++++ pixmaps/Makefile.in Sat Jun 3 20:47:54 2000 +@@ -113,7 +113,7 @@ + EXTRA_DIST = yamt-logo.png yamt-icon.png + + +-pixmapdir = $(datadir)/pixmaps/yamt ++pixmapdir = $(datadir)/pixmaps + + pixmap_DATA = $(EXTRA_DIST) + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |