|
Lines 1-27
Link Here
|
| 1 |
# New ports collection makefile for: vboxgtk |
1 |
# Created by: Alexander Logvinov <avl@FreeBSD.org> |
| 2 |
# Date created: 13 June 2009 |
2 |
# $FreeBSD$ |
| 3 |
# Whom: Alexander Logvinov <avl@FreeBSD.org> |
|
|
| 4 |
# |
| 5 |
# $FreeBSD: ports/deskutils/vboxgtk/Makefile,v 1.15 2012/11/17 05:55:31 svnexp Exp $ |
| 6 |
# |
| 7 |
|
3 |
|
| 8 |
PORTNAME= vboxgtk |
4 |
PORTNAME= vboxgtk |
| 9 |
PORTVERSION= 0.7.0 |
5 |
PORTVERSION= 0.8.2 |
| 10 |
PORTREVISION= 2 |
|
|
| 11 |
CATEGORIES= deskutils emulators gnome |
6 |
CATEGORIES= deskutils emulators gnome |
| 12 |
MASTER_SITES= SF |
7 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
| 13 |
|
8 |
|
| 14 |
MAINTAINER= avl@FreeBSD.org |
9 |
MAINTAINER= avl@FreeBSD.org |
| 15 |
COMMENT= GTK frontend for VirtualBox |
10 |
COMMENT= GTK frontend for VirtualBox |
| 16 |
|
11 |
|
| 17 |
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:${PORTSDIR}/emulators/virtualbox-ose-legacy |
12 |
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:${PORTSDIR}/emulators/virtualbox-ose |
| 18 |
|
13 |
|
| 19 |
USE_PYTHON= yes |
14 |
USE_PYTHON= yes |
| 20 |
USE_GNOME= pygtk2 |
15 |
USE_GNOME= gtk30 pygtk2 |
| 21 |
USE_PYDISTUTILS= yes |
16 |
USE_PYDISTUTILS= yes |
| 22 |
INSTALLS_ICONS= yes |
17 |
INSTALLS_ICONS= yes |
| 23 |
|
18 |
|
| 24 |
.if !defined(WITHOUT_NLS) |
19 |
OPTIONS_DEFINE= NLS |
|
|
20 |
|
| 21 |
.include <bsd.port.options.mk> |
| 22 |
|
| 23 |
.if ${PORT_OPTIONS:MNLS} |
| 25 |
USE_GETTEXT= yes |
24 |
USE_GETTEXT= yes |
| 26 |
PLIST_SUB+= NLS="" |
25 |
PLIST_SUB+= NLS="" |
| 27 |
.else |
26 |
.else |
|
Lines 29-35
Link Here
|
| 29 |
.endif |
28 |
.endif |
| 30 |
|
29 |
|
| 31 |
post-patch: |
30 |
post-patch: |
| 32 |
.if defined(WITHOUT_NLS) |
31 |
.if ! ${PORT_OPTIONS:MNLS} |
| 33 |
@${REINPLACE_CMD} -e '/self.add_mo_files/d' \ |
32 |
@${REINPLACE_CMD} -e '/self.add_mo_files/d' \ |
| 34 |
-e '/os.system("intltool/d' ${WRKSRC}/setup.py |
33 |
-e '/os.system("intltool/d' ${WRKSRC}/setup.py |
| 35 |
.endif |
34 |
.endif |