diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-07 19:52:41 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-07 19:52:41 +0800 |
commit | 7adcde1d2de34101d03a9eddae70e9e0dc8276df (patch) | |
tree | 06dd666383e891a8fa3cdc934355a21d8b82e11f /sysutils/gnome-power-manager/Makefile | |
parent | 165b77616fd0b1c8ac650f3fd5a7d40760320aab (diff) | |
download | marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar.gz marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar.bz2 marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar.lz marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar.xz marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.tar.zst marcuscom-ports-7adcde1d2de34101d03a9eddae70e9e0dc8276df.zip |
Fix build with libnotify.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15382 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-power-manager/Makefile')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile new file mode 100644 index 000000000..1751a0304 --- /dev/null +++ b/sysutils/gnome-power-manager/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: gnome-power-manager +# Date created: 03 May 2006 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/sysutils/gnome-power-manager/Makefile,v 1.35 2010/12/04 07:33:35 ade Exp $ +# $MCom: ports/sysutils/gnome-power-manager/Makefile,v 1.69 2010/09/27 18:49:22 kwm Exp $ +# + +PORTNAME= gnome-power-manager +PORTVERSION= 2.32.0 +PORTREVISION= 1 +CATEGORIES= sysutils gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Power management system for the GNOME Desktop + +LIB_DEPENDS= upower-glib.1:${PORTSDIR}/sysutils/upower \ + canberra-gtk.0:${PORTSDIR}/audio/libcanberra \ + notify.4:${PORTSDIR}/devel/libnotify \ + execinfo:${PORTSDIR}/devel/libexecinfo \ + unique-1.0.2:${PORTSDIR}/x11-toolkits/unique +RUN_DEPENDS= pkexec:${PORTSDIR}/sysutils/polkit + +USE_GETTEXT= yes +USE_BZIP2= yes +USE_GMAKE= yes +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +USE_AUTOTOOLS= libtool +USE_GNOME= gnomeprefix gnomehack intlhack 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/dtd/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> |