diff options
Diffstat (limited to 'sysutils/gnome-power-manager/Makefile')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile new file mode 100644 index 000000000..6822a0699 --- /dev/null +++ b/sysutils/gnome-power-manager/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: gnome-power-manager +# Date created: 03 May 2006 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-power-manager +PORTVERSION= 2.21.1 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Power management system for the GNOME Desktop + +BUILD_DEPENDS= docbook2html:${PORTSDIR}/textproc/docbook-utils \ + ${LOCALBASE}/share/sgml/docbook/4.1/catalog:${PORTSDIR}/textproc/docbook-410 +LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \ + notify.1:${PORTSDIR}/devel/libnotify + +USE_GETTEXT= yes +USE_BZIP2= yes +USE_XLIB= yes +USE_GMAKE= yes +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +USE_AUTOTOOLS= libtool:15 +USE_GSTREAMER= good +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libwnck \ + gnomedocutils gnomepanel +CONFIGURE_ARGS= --disable-icon-framing \ + --with-doc-dir=${PREFIX}/share/doc \ + --disable-docbook-docs +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-power-manager.schemas + +MAN1= gnome-power-manager.1 gnome-power-preferences.1 \ + gnome-power-statistics.1 + +post-patch: + @${REINPLACE_CMD} -e 's|-lresolv|| ; s|-Werror||g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> |