diff options
Diffstat (limited to 'sysutils/gnome-power-manager/Makefile')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile new file mode 100644 index 000000000..d45185cba --- /dev/null +++ b/sysutils/gnome-power-manager/Makefile @@ -0,0 +1,44 @@ +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> +# $FreeBSD$ +# $MCom: ports/trunk/sysutils/gnome-power-manager3/Makefile 18545 2013-06-17 11:34:52Z kwm $ + +PORTNAME= gnome-power-manager +PORTVERSION= 3.6.0 +CATEGORIES= sysutils gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Power management system for the GNOME Desktop + +LIB_DEPENDS= libupower-glib.so:${PORTSDIR}/sysutils/upower \ + +USES= gettext gmake pathfix pkgconfig +USE_XZ= yes +INSTALLS_ICONS= yes +USE_GNOME= gnomeprefix gtk30 intlhack +MAKE_JOBS_UNSAFE=yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \ + --disable-docbook-docs +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +GLIB_SCHEMAS= org.gnome.power-manager.gschema.xml + +OPTIONS_DEFINE= MANPAGES + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMANPAGES} || defined(PACKAGE_BUILDING) +BUILD_DEPENDS+= docbook2html:${PORTSDIR}/textproc/docbook-utils \ + ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 +PLIST_SUB+= MAN="" +.else +PLIST_SUB+= MAN="@comment " +post-patch: + @${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \ + s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure +.endif + +.include <bsd.port.mk> |