diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
commit | c76cf46929051f9dd322487d888c82f104026e6d (patch) | |
tree | f415aeddadc6782b1474ebd88710bfa86cf08711 /sysutils/battstat-applet | |
parent | b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (diff) | |
download | ports-c76cf46929051f9dd322487d888c82f104026e6d.tar.gz ports-c76cf46929051f9dd322487d888c82f104026e6d.zip |
Notes
Diffstat (limited to 'sysutils/battstat-applet')
-rw-r--r-- | sysutils/battstat-applet/Makefile | 20 | ||||
-rw-r--r-- | sysutils/battstat-applet/files/patch-aa | 22 | ||||
-rw-r--r-- | sysutils/battstat-applet/pkg-plist | 6 |
3 files changed, 39 insertions, 9 deletions
diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile index bf4352ca8fb1..bbb3eb9d0999 100644 --- a/sysutils/battstat-applet/Makefile +++ b/sysutils/battstat-applet/Makefile @@ -13,14 +13,20 @@ DISTNAME= battstat_applet-${PORTVERSION} MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - WRKSRC= ${WRKDIR}/${DISTNAME} -USE_LIBTOOL= yes -USE_GMAKE= yes + USE_X_PREFIX= yes -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +USE_GMAKE= yes +USE_GNOME= yes +USE_LIBTOOL= yes +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' ${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/sysutils/battstat-applet/files/patch-aa b/sysutils/battstat-applet/files/patch-aa new file mode 100644 index 000000000000..a1f2957f2b4a --- /dev/null +++ b/sysutils/battstat-applet/files/patch-aa @@ -0,0 +1,22 @@ +--- docs/C/Makefile.in.orig Mon Oct 2 00:34:46 2000 ++++ docs/C/Makefile.in Mon Oct 2 00:37:29 2000 +@@ -310,7 +310,6 @@ + $(distdir)/$(applet)-applet/stylesheet-images + + install-data-am: index.html +- -$(mkinstalldirs) $(DESTDIR)$(docdir)/stylesheet-images + -cp $(srcdir)/topic.dat $(DESTDIR)$(helpdir) + -for file in \ + $(applet)-applet/*.html \ +@@ -318,11 +317,6 @@ + $(srcdir)/*.png; do\ + basefile=`echo $$file | sed -e 's,^.*/,,'`; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$basefile; \ +- done +- -for file in \ +- $(applet)-applet/stylesheet-images/*.png; do \ +- basefile=`echo $$file | sed -e 's,^.*/,,'`; \ +- $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/stylesheet-images/$$basefile; \ + done + + $(applet)-applet.ps: $(srcdir)/$(applet)-applet.sgml $(srcdir)/$(applet).sgml diff --git a/sysutils/battstat-applet/pkg-plist b/sysutils/battstat-applet/pkg-plist index 7265629cd9e6..5c6874f76874 100644 --- a/sysutils/battstat-applet/pkg-plist +++ b/sysutils/battstat-applet/pkg-plist @@ -2,7 +2,6 @@ bin/battstat_applet etc/CORBA/servers/battstat_applet.gnorba etc/sound/events/battstat_applet.soundlist share/gnome/applets/Monitors/battstat_applet.desktop -share/gnome/pixmaps/battstat.png share/gnome/help/battstat_applet/C/appear-hidden.gif share/gnome/help/battstat_applet/C/appear.gif share/gnome/help/battstat_applet/C/bottom.gif @@ -16,4 +15,7 @@ share/gnome/help/battstat_applet/C/square-hidden.gif share/gnome/help/battstat_applet/C/square.gif share/gnome/help/battstat_applet/C/top.gif share/gnome/help/battstat_applet/C/topic.dat -@dirrm share/gnome/help/battstat_applet/C/stylesheet-images +share/gnome/pixmaps/battstat.png +share/locale/sv/LC_MESSAGES/battstat_applet.mo +@dirrm share/gnome/help/battstat_applet/C +@dirrm share/gnome/help/battstat_applet |