blob: 3769656ad1d4b5662746eb60e50d8e0ada462eb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= virt-manager
PORTVERSION= 0.9.5
PORTREVISION= 2
CATEGORIES= deskutils net-mgmt
MASTER_SITES= http://virt-manager.et.redhat.com/download/sources/${PORTNAME}/ \
LOCAL/jgh/deskutils/${PORTNAME}/
MAINTAINER= jgh@FreeBSD.org
COMMENT= Toolkit to interact with virtualization capabilities
LICENSE= LGPL3
LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.8:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_PKGNAMEPREFIX}virtinst>=0.600.4:${PORTSDIR}/net-mgmt/virtinst \
${PYTHON_PKGNAMEPREFIX}vte>=0.26.2:${PORTSDIR}/x11-toolkits/py-vte \
gtk-vnc>=0.3.10:${PORTSDIR}/net/gtk-vnc \
librsvg2>=2.32.1:${PORTSDIR}/graphics/librsvg2
NO_STAGE= yes
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
USE_GNOME= pygnome2
INSTALLS_ICONS= yes
GCONF_SCHEMAS= virt-manager.schemas
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-tui
USES= gmake
USE_PYTHON= yes
MAN1= virt-manager.1
post-patch-script:
@${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \
${WRKSRC}/po/Makefile.in.in
.include <bsd.port.mk>
|