summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 22:34:14 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 22:34:14 +0800
commit09b62bcf62f0f39db41cee6294d0f34d76e09bfc (patch)
tree7275d6ec4ce2a08bad692b402fbf27b6efb9554a /ports-mgmt
parent31aafe1e75404ec6675d016abcc77a3895f84d62 (diff)
downloadmarcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar.gz
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar.bz2
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar.lz
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar.xz
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.tar.zst
marcuscom-ports-09b62bcf62f0f39db41cee6294d0f34d76e09bfc.zip
Uncaps packagekit name, limit to python 2.7. there is support for python3 but
it a can of worms I don't want to deal with yet. Build manpages when PACKAGE_BUILD is enabled. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18523 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/packagekit-qt4/Makefile4
-rw-r--r--ports-mgmt/packagekit/Makefile12
2 files changed, 9 insertions, 7 deletions
diff --git a/ports-mgmt/packagekit-qt4/Makefile b/ports-mgmt/packagekit-qt4/Makefile
index 5064f6d7a..0db19d25d 100644
--- a/ports-mgmt/packagekit-qt4/Makefile
+++ b/ports-mgmt/packagekit-qt4/Makefile
@@ -11,8 +11,8 @@ DISTNAME= PackageKit-Qt-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Qt4 bindings to packagekit
-BUILD_DEPENDS= PackageKit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
-RUN_DEPENDS= PackageKit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
+BUILD_DEPENDS= packagekit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
+RUN_DEPENDS= packagekit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
USE_XZ= yes
USE_LDCONFIG= yes
diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile
index 31a48099c..93f6ace2a 100644
--- a/ports-mgmt/packagekit/Makefile
+++ b/ports-mgmt/packagekit/Makefile
@@ -2,10 +2,11 @@
# $FreeBSD$
# $MCom: ports/trunk/ports-mgmt/packagekit/Makefile 17268 2013-04-01 05:13:11Z marcus $
-PORTNAME= PackageKit
+PORTNAME= packagekit
PORTVERSION= 0.8.9
CATEGORIES= ports-mgmt sysutils
MASTER_SITES= http://www.packagekit.org/releases/
+DISTNAME= PackageKit-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A DBUS packaging abstraction layer
@@ -21,7 +22,7 @@ USES= gettext iconv pathfix shared-mime-info
USE_GNOME= glib20 intltool introspection
USE_LDCONFIG= yes
USE_SQLITE= 3
-USE_PYTHON_BUILD= yes
+USE_PYTHON= -2.7
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
@@ -39,7 +40,7 @@ OPTIONS_DEFINE= MANPAGES
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MMANPAGES}
+.if ${PORT_OPTIONS:MMANPAGES} || defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
USE_GNOME+= libxslt:build
@@ -65,9 +66,10 @@ CONFIGURE_ARGS+=--disable-gtk-module
PLIST_SUB+= GTK="@comment "
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/plugins/pk-lsof.c
+post-install:
+ @${MKDIR} /var/cache/PackageKit/downloads
+
.include <bsd.port.mk>