Lines 1-69
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= guake |
3 |
PORTNAME= guake |
4 |
PORTVERSION= 0.8.10 |
4 |
PORTVERSION= 3.4.0 |
5 |
PORTREVISION= 2 |
5 |
CATEGORIES= x11 python gnome |
6 |
CATEGORIES= x11 |
|
|
7 |
|
6 |
|
8 |
MAINTAINER= nivit@FreeBSD.org |
7 |
MASTER_SITES= CHEESESHOP |
|
|
8 |
DISTNAME= Guake-${PORTVERSION} |
9 |
|
10 |
MAINTAINER= daniel@shafer.cc |
9 |
COMMENT= Dropdown terminal made for the GNOME desktop |
11 |
COMMENT= Dropdown terminal made for the GNOME desktop |
10 |
|
12 |
|
11 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
15 |
|
14 |
BUILD_DEPENDS= gnome-common>=3.14.0:devel/gnome-common \ |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} |
15 |
${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR} \ |
17 |
|
16 |
${PYTHON_PKGNAMEPREFIX}notify>=0.1.1_9:devel/py-notify@${PY_FLAVOR} \ |
18 |
RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ |
17 |
${PYTHON_PKGNAMEPREFIX}vte>=0.26.2_1:x11-toolkits/py-vte@${PY_FLAVOR} \ |
19 |
gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ |
18 |
${PYTHON_PKGNAMEPREFIX}xdg>=0.19:devel/py-xdg@${PY_FLAVOR} |
20 |
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ |
19 |
RUN_DEPENDS= keybinder>=0.3.0:x11/keybinder \ |
21 |
${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}notify>=0.1.1_9:devel/py-notify@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}notify2>0:devel/py-notify2@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}vte>=0.26.2_1:x11-toolkits/py-vte@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}xdg>=0.19:devel/py-xdg@${PY_FLAVOR} |
25 |
keybinder-gtk3>0:x11/keybinder-gtk3 \ |
|
|
26 |
keybinder>0:x11/keybinder \ |
27 |
vte3>=0.42:x11-toolkits/vte3 |
24 |
|
28 |
|
25 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
USES= gettext gmake gnome libtool python:3.5+ localbase |
|
|
30 |
USE_GNOME= gtk30 intltool gconf2 |
31 |
USE_PYTHON= distutils concurrent autoplist |
26 |
|
32 |
|
27 |
GCONF_SCHEMAS= guake.schemas |
33 |
NO_ARCH= yes |
28 |
GH_ACCOUNT= Guake |
|
|
29 |
GNU_CONFIGURE= yes |
30 |
|
31 |
INSTALLS_ICONS= yes |
34 |
INSTALLS_ICONS= yes |
32 |
|
35 |
|
33 |
LIBS+= -L${LOCALBASE}/lib |
|
|
34 |
|
35 |
MANPAGES_MAKE_ENV_OFF= man_MANS="" |
36 |
MANPAGES_MAKE_ENV_OFF= man_MANS="" |
36 |
|
37 |
|
37 |
NLS_CONFIGURE_ENABLE= nls |
38 |
NLS_CONFIGURE_ENABLE= nls |
38 |
|
39 |
|
39 |
OPTIONS_DEFINE= MANPAGES NLS |
40 |
OPTIONS_DEFINE= MANPAGES NLS |
40 |
OPTIONS_DEFAULT= MANPAGES |
41 |
OPTIONS_DEFAULT= MANPAGES NLS |
41 |
OPTIONS_SUB= yes |
42 |
OPTIONS_SUB= yes |
42 |
|
43 |
|
43 |
PLIST_SUB+= DESKTOPDIR="${DESKTOPDIR:S,${PREFIX}/,,}" |
44 |
post-extract: |
|
|
45 |
${REINPLACE_CMD} -e 's|PYTHON_INTERPRETER=python3|PYTHON_INTERPRETER=${PYTHON_CMD}|g' ${WRKSRC}/Makefile |
44 |
|
46 |
|
45 |
NO_ARCH= yes |
|
|
46 |
USES= autoreconf:build desktop-file-utils gettext gmake libtool \ |
47 |
pkgconfig python:2.7 |
48 |
USE_GITHUB= yes |
49 |
USE_GNOME= gtk20 pygnome2 intltool |
50 |
|
51 |
.include <bsd.port.options.mk> |
47 |
.include <bsd.port.options.mk> |
|
|
48 |
.include <bsd.port.mk> |
52 |
|
49 |
|
53 |
.if ! ${PORT_OPTIONS:MNLS} |
|
|
54 |
REINPLACE_ARGS+= -e 's,\(USE_NLS=\)yes,\1no,' |
55 |
REINPLACE_FILES+= ../../configure |
56 |
.endif |
57 |
|
58 |
pre-configure: |
59 |
@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) |
60 |
|
61 |
.if exists(${LOCALBASE}/libexec/notification-daemon) |
62 |
RUN_DEPENDS+= notification-daemon>=0.7.2_1:deskutils/notification-daemon |
63 |
.elif exists (${LOCALBASE}/bin/xfce4-notifyd-config) |
64 |
RUN_DEPENDS+= xfce4-notifyd>=0.2.4:deskutils/xfce4-notifyd |
65 |
.else |
66 |
RUN_DEPENDS+= notify-osd>=0.9.29_4:deskutils/notify-osd |
67 |
.endif |
68 |
|
69 |
.include <bsd.port.mk> |