aboutsummaryrefslogtreecommitdiff
path: root/deskutils/virt-manager
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-28 21:31:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-28 21:31:22 +0000
commitdcf7d570aa6c624b34ca2662885129cffc1ee6fd (patch)
tree91fef2a0a377a0938c074e0c0c1ccf867734e450 /deskutils/virt-manager
parentf42e184c0463eb5ecb75cc91f6461061f14faad1 (diff)
downloadports-dcf7d570aa6c624b34ca2662885129cffc1ee6fd.tar.gz
ports-dcf7d570aa6c624b34ca2662885129cffc1ee6fd.zip
Notes
Diffstat (limited to 'deskutils/virt-manager')
-rw-r--r--deskutils/virt-manager/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile
index 916b6dd5aabe..6a6c14958de0 100644
--- a/deskutils/virt-manager/Makefile
+++ b/deskutils/virt-manager/Makefile
@@ -2,7 +2,7 @@
PORTNAME= virt-manager
PORTVERSION= 1.1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= deskutils net-mgmt
MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \
LOCAL/jgh/deskutils/${PORTNAME}/
@@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \
PYDISTUTILS_INSTALLNOSINGLE= yes
PYDISTUTILS_CONFIGURE_TARGET= configure
PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX}
-USES= python:2.7 gettext shebangfix
+USES= python:2.7 gettext shebangfix
USE_PYTHON= autoplist distutils
USE_GNOME= introspection:run intltool librsvg2 pygobject3
@@ -41,6 +41,9 @@ SHEBANG_FILES= virt-manager \
GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml
+post-patch:
+ @${REINPLACE_CMD} -e '1s|/usr/bin/python2|${python_CMD}|' ${WRKSRC}/virt-xml
+
#add workaround for two autoplist functions
post-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas/