diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-30 05:14:07 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-30 05:14:07 +0800 |
commit | 6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3 (patch) | |
tree | c7f5799deb0d51aa4371fb431e989b1d91005cd5 /ports-mgmt/packagekit/Makefile | |
parent | ba47f961f8b5ef6ce5a281fa573904e04f5f9dcc (diff) | |
download | marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.gz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.bz2 marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.lz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.xz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.zst marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.zip |
Bump all gir ports. Always nice to find out things break after you update it :)
Error message is:
/usr/local/share/gir-1.0/Pango-1.0.gir: Incompatible version 1.0 (supported: 1.1)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14282 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ports-mgmt/packagekit/Makefile')
-rw-r--r-- | ports-mgmt/packagekit/Makefile | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile new file mode 100644 index 000000000..9ca386ecc --- /dev/null +++ b/ports-mgmt/packagekit/Makefile @@ -0,0 +1,127 @@ +# New ports collection makefile for: packagekit +# Date created: 15 Aug 2009 +# Whom: Anders F Bjorklund <afb@users.sourceforge.net> +# +# $FreeBSD$ +# $MCom: ports/ports-mgmt/packagekit/Makefile,v 1.20 2010/04/07 04:53:37 marcus Exp $ + +PORTNAME= PackageKit +PORTVERSION= 0.6.3 +PORTREVISION?= 2 +CATEGORIES= ports-mgmt sysutils +MASTER_SITES= http://www.packagekit.org/releases/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT?= A DBUS packaging abstraction layer + +BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2man:${PORTSDIR}/textproc/docbook-utils \ + ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection +LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \ + sqlite3.8:${PORTSDIR}/databases/sqlite3 \ + dbus-glib-1:${PORTSDIR}/devel/dbus-glib \ + polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \ + ck-connector.0:${PORTSDIR}/sysutils/consolekit +RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof \ + ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection \ + ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info + +USE_GMAKE= yes +USE_GETTEXT= yes +USE_GNOME= glib20 intltool +USE_ICONV= yes +USE_LDCONFIG= yes +USE_PYTHON_BUILD= 2.4+ +GNU_CONFIGURE= yes +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -lexecinfo +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS+=--with-security-framework=polkit \ + --localstatedir=/var \ + --disable-gtk-doc \ + --disable-managed \ + --disable-browser-plugin \ + --disable-gstreamer-plugin \ + --disable-networkmanager \ + --disable-connman + +MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" + +MAKE_JOBS_UNSAFE=yes + +.if !defined(SLAVEPORT) +OPTIONS=PORTS "Use portupgrade for management, dummy if disabled" on \ + PORTDOCS "Build documentation" on \ + RUCK "Enable ruck" on +# gtk module seems to be broken/disabled/gone? +# GTK20 "Enable GTK+ modules" off \ + +.if defined(NO_INSTALL_MANPAGES) +CONFIGURE_ARGS+=--disable-man-pages +.else +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \ + xsltproc:${PORTSDIR}/textproc/libxslt \ + ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl +MAN1= pkcon.1 pkmon.1 pkgenpack.1 pk-debuginfo-install.1 +.endif +.endif + +.include <bsd.port.pre.mk> + +.if defined(WITH_PORTS) +RUN_DEPENDS+= portupgrade:${PORTSDIR}/ports-mgmt/portupgrade +USE_RUBY= yes +CONFIGURE_ARGS+=--enable-ports --with-default-backend=ports +PLIST_SUB+= PORTS="" +.else +CONFIGURE_ARGS+=--disable-ports --with-default-backend=dummy +PLIST_SUB+= PORTS="@comment " +.endif + +.if defined(WITH_RUCK) +CONFIGURE_ARGS+=--enable-ruck +PLIST_SUB+= RUCK="" +.else +CONFIGURE_ARGS+=--disable-ruck +PLIST_SUB+= RUCK="@comment " +.endif + +#.if defined(WITH_GTK) +#USE_GNOME+= gtk20 +#CONFIGURE_ARGS+=--enable-gtk-module +#PLIST_SUB+= GTK="" +#.else +CONFIGURE_ARGS+=--disable-gtk-module +PLIST_SUB+= GTK="@comment " +#.endif + +.if defined(SLAVEPORT) +LIB_DEPENDS+= packagekit-glib2.14:${PORTSDIR}/ports-mgmt/packagekit + +.if ${SLAVEPORT}=="qt4" +CONFIGURE_ARGS+=--enable-qt +LIB_DEPENDS+= cppunit-1.12.1:${PORTSDIR}/devel/cppunit +USE_QT_VER+= 4 +QT_COMPONENTS+= dbus xml sql moc +.include "${PORTSDIR}/Mk/bsd.qt.mk" +.endif +.else +CONFIGURE_ARGS+=--disable-qt +.endif + +post-patch: + @${REINPLACE_CMD} -E -e 's/.*WARNINGFLAGS_CPP.*-Werror/#$$&/' \ + -e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/src/pk-lsof.c + @${REINPLACE_CMD} -e 's|girepositry|girepository|g' \ + ${WRKSRC}/lib/packagekit-glib2/Makefile.in + +post-install: +.if !defined(SLAVEPORT) + @${INSTALL_DATA} ${WRKSRC}/data/transactions.db \ + ${PREFIX}/share/PackageKit/transactions.db + @-update-mime-database ${PREFIX}/share/mime > /dev/null +.endif + +.include <bsd.port.post.mk> |