diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-12 13:41:36 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-12 13:41:36 +0800 |
commit | 5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0 (patch) | |
tree | a7299c4ff90b2fb8d251384c9efed18702bd34bb /sysutils | |
parent | 8ded7f4d50859ac4894ab7638ab6d6905bdd9f3a (diff) | |
download | marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar.gz marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar.bz2 marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar.lz marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar.xz marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.tar.zst marcuscom-ports-5a79f9fa20cf971de6bc76d8371f2a06b01a2cb0.zip |
Add battfink, an energy saver configurator as well as battery monitor.
TODO: Note, the battery monitor piece is Linux-specific, and doesn't work
on FreeBSD (yet). This needs to be ported to apm_bios.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@589 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/battfink/Makefile | 30 | ||||
-rw-r--r-- | sysutils/battfink/distinfo | 1 | ||||
-rw-r--r-- | sysutils/battfink/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/battfink/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/battfink/pkg-plist | 29 |
5 files changed, 73 insertions, 0 deletions
diff --git a/sysutils/battfink/Makefile b/sysutils/battfink/Makefile new file mode 100644 index 000000000..c988f2c0f --- /dev/null +++ b/sysutils/battfink/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: battfink +# Date created: 12 April 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= battfink +PORTVERSION= 0.3 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An energy saving preferences app for GNOME + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix libgnomeui +USE_REINPLACE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/sysutils/battfink/distinfo b/sysutils/battfink/distinfo new file mode 100644 index 000000000..11a7e2fef --- /dev/null +++ b/sysutils/battfink/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/battfink-0.3.tar.gz) = 663b5b2945da7e538e6771fab5bad91d diff --git a/sysutils/battfink/files/patch-configure b/sysutils/battfink/files/patch-configure new file mode 100644 index 000000000..6e7783f3e --- /dev/null +++ b/sysutils/battfink/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sat Apr 12 01:31:11 2003 ++++ configure Sat Apr 12 01:31:27 2003 +@@ -7481,7 +7481,7 @@ + + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${datadir}/pixmaps" + _ACEOF + + diff --git a/sysutils/battfink/pkg-descr b/sysutils/battfink/pkg-descr new file mode 100644 index 000000000..0bf5a2111 --- /dev/null +++ b/sysutils/battfink/pkg-descr @@ -0,0 +1,2 @@ +Battfink is an Energy Saving Preference dialog with an associating +battery notification icon. diff --git a/sysutils/battfink/pkg-plist b/sysutils/battfink/pkg-plist new file mode 100644 index 000000000..98a360b5c --- /dev/null +++ b/sysutils/battfink/pkg-plist @@ -0,0 +1,29 @@ +bin/battfink +etc/gconf/gconf.xml.defaults/apps/battfink/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/battfink/%gconf.xml +etc/gconf/schemas/battfink.schemas +libdata/bonobo/servers/GNOME_Battfink.server +share/gnome/battfink/battfink.glade +share/gnome/battfink/help/C/battfink.xml +share/gnome/battfink/help/C/legal.xml +share/gnome/battfink/icons/battfink-100.png +share/gnome/battfink/icons/battfink-25.png +share/gnome/battfink/icons/battfink-50.png +share/gnome/battfink/icons/battfink-75.png +share/gnome/battfink/icons/battfink-charge.png +share/gnome/control-center-2.0/capplets/battfink-preferences.desktop +share/gnome/omf/battfink/battfink-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/battfink/battfink-C.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/battfink.png +share/locale/es/LC_MESSAGES/battfink-0.1.mo +share/locale/pt/LC_MESSAGES/battfink-0.1.mo +share/locale/pt_BR/LC_MESSAGES/battfink-0.1.mo +share/locale/sv/LC_MESSAGES/battfink-0.1.mo +@dirrm share/gnome/omf/battfink +@dirrm share/gnome/battfink/icons +@dirrm share/gnome/battfink/help/C +@dirrm share/gnome/battfink/help +@dirrm share/gnome/battfink +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/battfink +@dirrm etc/gconf/gconf.xml.defaults/apps/battfink +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/battfink/battfink-C.omf 2>/dev/null || /usr/bin/true |