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 /deskutils/yank | |
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 'deskutils/yank')
-rw-r--r-- | deskutils/yank/Makefile | 17 | ||||
-rw-r--r-- | deskutils/yank/pkg-plist | 6 |
2 files changed, 13 insertions, 10 deletions
diff --git a/deskutils/yank/Makefile b/deskutils/yank/Makefile index b17b8dc4f29f..b17f7750660c 100644 --- a/deskutils/yank/Makefile +++ b/deskutils/yank/Makefile @@ -12,18 +12,23 @@ MASTER_SITES= http://home.ins.de/~m.hussmann/software/yank/ MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +PLIST_SUB= PORTVERSION=${PORTVERSION} USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" +pre-patch: + @${PERL} -pi -e 's^-l(pthread|c_r)^-pthread^g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's^\$\(datadir\)/gnome/^\$\(datadir\)/^g ; \ + s^\$\(datadir\)/locale^\$\(prefix\)/share/locale^g' + @find ${WRKSRC}/src/Plugins -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g' + .include <bsd.port.mk> diff --git a/deskutils/yank/pkg-plist b/deskutils/yank/pkg-plist index 4cb113ff5f66..baab9ccf4ee4 100644 --- a/deskutils/yank/pkg-plist +++ b/deskutils/yank/pkg-plist @@ -1,12 +1,10 @@ bin/yank +lib/yank/plugins/%%PORTVERSION%%/libPgp5.so share/gnome/apps/Applications/yank.desktop share/gnome/pixmaps/yank.png share/locale/de/LC_MESSAGES/yank.mo share/locale/ja/LC_MESSAGES/yank.mo share/locale/sv/LC_MESSAGES/yank.mo -lib/yank/plugins/0.1.4/libPgp5.so.0 -lib/yank/plugins/0.1.4/libPgp5.so -lib/yank/plugins/0.1.4/libPgp5.a -@dirrm lib/yank/plugins/0.1.4 +@dirrm lib/yank/plugins/%%PORTVERSION%% @dirrm lib/yank/plugins @dirrm lib/yank |