Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= terminator |
4 |
PORTNAME= terminator |
5 |
PORTVERSION= 0.97 |
5 |
PORTVERSION= 0.97 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= x11 python |
7 |
CATEGORIES= x11 python |
7 |
MASTER_SITES= http://launchpad.net/terminator/trunk/0.97/+download/ |
8 |
MASTER_SITES= http://launchpad.net/terminator/trunk/0.97/+download/ |
8 |
|
9 |
|
Lines 15-52
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:${PORTSDIR}/devel/py-notify \
Link Here
|
15 |
${PYTHON_SITELIBDIR}/keybinder/_keybinder.so:${PORTSDIR}/x11/keybinder \ |
16 |
${PYTHON_SITELIBDIR}/keybinder/_keybinder.so:${PORTSDIR}/x11/keybinder \ |
16 |
${PYTHON_PKGNAMEPREFIX}vte>=0:${PORTSDIR}/x11-toolkits/py-vte |
17 |
${PYTHON_PKGNAMEPREFIX}vte>=0:${PORTSDIR}/x11-toolkits/py-vte |
17 |
|
18 |
|
18 |
OPTIONS_DEFINE= NLS GCONF |
|
|
19 |
GCONF_DESC= Use GNOME Terminal settings |
20 |
OPTIONS_DEFAULT= NLS GCONF |
21 |
|
22 |
USES= python |
19 |
USES= python |
|
|
20 |
USE= GNOME=pygtk2 |
23 |
USE_PYTHON= distutils |
21 |
USE_PYTHON= distutils |
24 |
PYDISTUTILS_PKGNAME= Terminator |
22 |
PYDISTUTILS_PKGNAME= Terminator |
25 |
|
23 |
|
26 |
INSTALLS_ICONS= yes |
24 |
INSTALLS_ICONS= yes |
27 |
|
25 |
|
28 |
WANT_GNOME= yes |
26 |
OPTIONS_DEFINE= NLS GCONF |
29 |
|
27 |
OPTIONS_DEFAULT= NLS GCONF |
30 |
.include <bsd.port.options.mk> |
28 |
OPTIONS_SUB= yes |
31 |
|
29 |
GCONF_DESC= Use GNOME Terminal settings |
32 |
.if ${PORT_OPTIONS:MNLS} |
30 |
GCONF_USE= GNOME=pygnome2 |
33 |
USES+= gettext |
31 |
NLS_USES= gettext |
34 |
PLIST_SUB+= NLS="" |
|
|
35 |
.else |
36 |
PLIST_SUB+= NLS="@comment " |
37 |
PYSETUP+= --without-gettext |
38 |
.endif |
39 |
|
32 |
|
40 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
41 |
|
34 |
|
|
|
35 |
.if !${PORT_OPTIONS:MNLS} |
36 |
PYDISTUTILS_SETUP+= --without-gettext |
37 |
post-patch: |
38 |
${CP} ${WRKSRC}/data/terminator.desktop.in ${WRKSRC}/data/terminator.desktop |
39 |
${REINPLACE_CMD} -e 's/^_//' ${WRKSRC}/data/terminator.desktop |
40 |
.endif |
41 |
|
42 |
PYDISTUTILS_SETUP+= --without-icon-cache |
42 |
PYDISTUTILS_SETUP+= --without-icon-cache |
43 |
|
43 |
|
44 |
.if ${PORT_OPTIONS:MGCONF} |
44 |
pre-patch: |
45 |
USE_GNOME+= pygnome2 |
45 |
${REINPLACE_CMD} -e 's/libc\.so/libc.so.7/' ${WRKSRC}/terminatorlib/freebsd.py |
46 |
.endif |
|
|
47 |
USE_GNOME+= pygtk2 |
48 |
|
49 |
MAN1= terminator.1 |
50 |
MAN5= terminator_config.5 |
51 |
|
46 |
|
52 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.post.mk> |