summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-power-manager/Makefile
diff options
context:
space:
mode:
authoravl <avl@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-02 00:56:04 +0800
committeravl <avl@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-02 00:56:04 +0800
commitfa3f7272ac157a03fcc8d4971aa78e43ae50eaa7 (patch)
tree41054e8c03543661a569a10cf03a46d716571cd8 /sysutils/gnome-power-manager/Makefile
parent418521cad22d268481ce6ae8396390148d6a6365 (diff)
downloadmarcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar.gz
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar.bz2
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar.lz
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar.xz
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.tar.zst
marcuscom-ports-fa3f7272ac157a03fcc8d4971aa78e43ae50eaa7.zip
- Update to 2.29.1
- Update WWW, but it's time to update whole pkg-descr too git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13335 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-power-manager/Makefile')
-rw-r--r--sysutils/gnome-power-manager/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
new file mode 100644
index 000000000..f7f92ffc5
--- /dev/null
+++ b/sysutils/gnome-power-manager/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: gnome-power-manager
+# Date created: 03 May 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/sysutils/gnome-power-manager/Makefile,v 1.54 2009/10/25 00:02:31 marcus Exp $
+#
+
+PORTNAME= gnome-power-manager
+PORTVERSION= 2.29.1
+CATEGORIES= sysutils gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Power management system for the GNOME Desktop
+
+LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \
+ devkit-power-gobject.1:${PORTSDIR}/sysutils/devicekit-power \
+ canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
+ notify.1:${PORTSDIR}/devel/libnotify \
+ execinfo:${PORTSDIR}/devel/libexecinfo \
+ unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_AUTOTOOLS= libtool:22
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libwnck \
+ gnomedocutils gnomepanel
+CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \
+ --disable-docbook-docs \
+ --enable-hal
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gnome-power-manager.schemas
+
+.if !defined(NO_INSTALL_MANPAGES)
+BUILD_DEPENDS+= docbook2html:${PORTSDIR}/textproc/docbook-utils \
+ ${LOCALBASE}/share/sgml/docbook/4.1/catalog:${PORTSDIR}/textproc/docbook-410
+MAN1= gnome-power-manager.1 gnome-power-preferences.1 \
+ gnome-power-statistics.1
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lresolv|| ; s|-Werror||g' \
+ ${WRKSRC}/configure
+.if defined(NO_INSTALL_MANPAGES)
+ @${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
+ s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
+.endif
+
+.include <bsd.port.mk>