aboutsummaryrefslogtreecommitdiffstats
path: root/x11/guake
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-01-19 07:24:01 +0800
committernivit <nivit@FreeBSD.org>2013-01-19 07:24:01 +0800
commit99d5d2152c3cbaa5013f9ff9979c11e1f0a01c59 (patch)
tree2675a7abdce5f33f3e9d6463d9f48a821a5bb70c /x11/guake
parentd02504dc5b2654e40be02a9e9775662e258c33af (diff)
downloadfreebsd-ports-gnome-99d5d2152c3cbaa5013f9ff9979c11e1f0a01c59.tar.gz
freebsd-ports-gnome-99d5d2152c3cbaa5013f9ff9979c11e1f0a01c59.tar.zst
freebsd-ports-gnome-99d5d2152c3cbaa5013f9ff9979c11e1f0a01c59.zip
Guake is a dropdown terminal made for the GNOME desktop environment,
but you can run it with TWM too ;-), if you install ports/x11/trayer or a similar program. Its style of window is based on fps games, and one of its purposes is to be easy to reach. WWW: http://guake.org
Diffstat (limited to 'x11/guake')
-rw-r--r--x11/guake/Makefile66
-rw-r--r--x11/guake/distinfo2
-rw-r--r--x11/guake/files/patch-data__Makefile.in11
-rw-r--r--x11/guake/files/patch-data__guake-prefs.desktop.in8
-rw-r--r--x11/guake/files/patch-data__guake.desktop.in8
-rw-r--r--x11/guake/files/patch-po__Makefile.in.in12
-rw-r--r--x11/guake/pkg-descr7
-rw-r--r--x11/guake/pkg-plist64
8 files changed, 178 insertions, 0 deletions
diff --git a/x11/guake/Makefile b/x11/guake/Makefile
new file mode 100644
index 000000000000..cbdb82283828
--- /dev/null
+++ b/x11/guake/Makefile
@@ -0,0 +1,66 @@
+# $FreeBSD$
+
+PORTNAME= guake
+PORTVERSION= 0.4.4.0
+#PORTREVISION= 0
+CATEGORIES= x11
+MASTER_SITES= http://www.guake.org/downloads/5?dummy=empty/
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Dropdown terminal made for the GNOME desktop
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= py${PYTHON_SUFFIX}-dbus>=0.84.0:${PORTSDIR}/devel/py-dbus \
+ py${PYTHON_SUFFIX}-notify>=0.1.1_9:${PORTSDIR}/devel/py-notify \
+ py${PYTHON_SUFFIX}-vte>=0.26.2_1:${PORTSDIR}/x11-toolkits/py-vte \
+ py${PYTHON_SUFFIX}-xdg>=0.19:${PORTSDIR}/devel/py-xdg
+RUN_DEPENDS= py${PYTHON_SUFFIX}-dbus>=0.84.0:${PORTSDIR}/devel/py-dbus \
+ py${PYTHON_SUFFIX}-notify>=0.1.1_9:${PORTSDIR}/devel/py-notify \
+ py${PYTHON_SUFFIX}-vte>=0.26.2_1:${PORTSDIR}/x11-toolkits/py-vte \
+ py${PYTHON_SUFFIX}-xdg>=0.19:${PORTSDIR}/devel/py-xdg
+
+GCONF_SCHEMAS= guake.schemas
+GNU_CONFIGURE= yes
+
+INSTALLS_ICONS= yes
+
+OPTIONS_DEFINE= MANPAGES NLS
+OPTIONS_DEFAULT= MANPAGES NLS
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMANPAGES}
+MAN1= guake.1
+.else
+MAKE_ENV= man_MANS=""
+.endif
+
+.if ${PORT_OPTIONS:MNLS}
+CONFIGURE_ARGS= --localedir=${PREFIX}/share/locale
+PLIST_SUB= NLS=""
+USE_GETTEXT= yes
+.else
+CONFIGURE_ARGS= --disable-nls
+PLIST_SUB= NLS="@comment "
+REINPLACE_ARGS= -E -e 's,(USE_NLS=)yes,\1no,'
+REINPLACE_FILES= ../configure
+.endif
+
+PLIST_SUB+= DESKTOPDIR="${DESKTOPDIR:S,${PREFIX}/,,}"
+
+REINPLACE_ARGS+= -e 's,/usr/bin/env python,&${PYTHON_VER},' -i.bak
+REINPLACE_FILES+= guake guake-prefs prefs.py
+
+USE_GMAKE= yes
+USE_GNOME= desktopfileutils gtk20 pygnome2
+USE_PYTHON= -2.7
+
+WRKSRC= ${WRKDIR}/${DISTNAME:R}
+
+post-patch:
+ cd ${WRKSRC}/src && ${REINPLACE_CMD} ${REINPLACE_FILES}
+
+post-install:
+ -${LOCALBASE}/bin/update-desktop-database
+
+.include <bsd.port.mk>
diff --git a/x11/guake/distinfo b/x11/guake/distinfo
new file mode 100644
index 000000000000..a747b93bb482
--- /dev/null
+++ b/x11/guake/distinfo
@@ -0,0 +1,2 @@
+SHA256 (guake-0.4.4.0.tar.gz) = 1e1054ba6bbd79897bda0e1cd2b9df86082f7e794a0e07afc5cb63c0a5e74ca5
+SIZE (guake-0.4.4.0.tar.gz) = 549189
diff --git a/x11/guake/files/patch-data__Makefile.in b/x11/guake/files/patch-data__Makefile.in
new file mode 100644
index 000000000000..663dd2e43eb9
--- /dev/null
+++ b/x11/guake/files/patch-data__Makefile.in
@@ -0,0 +1,11 @@
+--- ./data/Makefile.in.orig 2013-01-18 23:09:28.000000000 +0100
++++ ./data/Makefile.in 2013-01-18 23:10:25.000000000 +0100
+@@ -316,7 +316,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = pixmaps icons
+-man_MANS = guake.1
++man_MANS ?= guake.1
+ uidir = $(datadir)/guake
+ ui_DATA = \
+ about.glade \
diff --git a/x11/guake/files/patch-data__guake-prefs.desktop.in b/x11/guake/files/patch-data__guake-prefs.desktop.in
new file mode 100644
index 000000000000..dc92dd95fbf1
--- /dev/null
+++ b/x11/guake/files/patch-data__guake-prefs.desktop.in
@@ -0,0 +1,8 @@
+--- ./data/guake-prefs.desktop.in.orig 2013-01-18 16:01:54.000000000 +0100
++++ ./data/guake-prefs.desktop.in 2013-01-18 16:01:57.000000000 +0100
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Guake Preferences
+ Name[pt_BR]=PreferĂȘncias do Guake
+ Comment=Configure your Guake sessions
diff --git a/x11/guake/files/patch-data__guake.desktop.in b/x11/guake/files/patch-data__guake.desktop.in
new file mode 100644
index 000000000000..3edd0dc39792
--- /dev/null
+++ b/x11/guake/files/patch-data__guake.desktop.in
@@ -0,0 +1,8 @@
+--- ./data/guake.desktop.in.orig 2013-01-18 15:09:46.000000000 +0100
++++ ./data/guake.desktop.in 2013-01-18 15:09:51.000000000 +0100
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Guake Terminal
+ Name[pt]=Guake Terminal
+ Name[pt_BR]=Guake Terminal
diff --git a/x11/guake/files/patch-po__Makefile.in.in b/x11/guake/files/patch-po__Makefile.in.in
new file mode 100644
index 000000000000..e8ffa7a3b07a
--- /dev/null
+++ b/x11/guake/files/patch-po__Makefile.in.in
@@ -0,0 +1,12 @@
+--- ./po/Makefile.in.in.orig 2013-01-18 22:40:08.000000000 +0100
++++ ./po/Makefile.in.in 2013-01-18 22:40:34.000000000 +0100
+@@ -34,7 +34,8 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++#itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = @localedir@
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.
diff --git a/x11/guake/pkg-descr b/x11/guake/pkg-descr
new file mode 100644
index 000000000000..a9d2bb1bcfd2
--- /dev/null
+++ b/x11/guake/pkg-descr
@@ -0,0 +1,7 @@
+Guake is a dropdown terminal made for the GNOME desktop environment,
+but you can run it with TWM too ;-), if you install ports/x11/trayer
+or a similar program.
+Its style of window is based on fps games, and one of its purposes
+is to be easy to reach.
+
+WWW: http://guake.org
diff --git a/x11/guake/pkg-plist b/x11/guake/pkg-plist
new file mode 100644
index 000000000000..522b83300869
--- /dev/null
+++ b/x11/guake/pkg-plist
@@ -0,0 +1,64 @@
+@comment $FreeBSD$
+bin/guake
+bin/guake-prefs
+%%NLS%%share/locale/de/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/el/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/es/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/fa/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/it/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/no/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/guake.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/guake.mo
+%%PYTHON_SITELIBDIR%%/guake/__init__.py
+%%PYTHON_SITELIBDIR%%/guake/__init__.pyc
+%%PYTHON_SITELIBDIR%%/guake/__init__.pyo
+%%PYTHON_SITELIBDIR%%/guake/common.py
+%%PYTHON_SITELIBDIR%%/guake/common.pyc
+%%PYTHON_SITELIBDIR%%/guake/common.pyo
+%%PYTHON_SITELIBDIR%%/guake/dbusiface.py
+%%PYTHON_SITELIBDIR%%/guake/dbusiface.pyc
+%%PYTHON_SITELIBDIR%%/guake/dbusiface.pyo
+%%PYTHON_SITELIBDIR%%/guake/globalhotkeys.a
+%%PYTHON_SITELIBDIR%%/guake/globalhotkeys.la
+%%PYTHON_SITELIBDIR%%/guake/globalhotkeys.so
+%%PYTHON_SITELIBDIR%%/guake/globals.py
+%%PYTHON_SITELIBDIR%%/guake/globals.pyc
+%%PYTHON_SITELIBDIR%%/guake/globals.pyo
+%%PYTHON_SITELIBDIR%%/guake/prefs.py
+%%PYTHON_SITELIBDIR%%/guake/prefs.pyc
+%%PYTHON_SITELIBDIR%%/guake/prefs.pyo
+%%PYTHON_SITELIBDIR%%/guake/simplegladeapp.py
+%%PYTHON_SITELIBDIR%%/guake/simplegladeapp.pyc
+%%PYTHON_SITELIBDIR%%/guake/simplegladeapp.pyo
+%%DESKTOPDIR%%/guake-prefs.desktop
+%%DESKTOPDIR%%/guake.desktop
+share/dbus-1/services/org.guake.Guake.service
+%%DATADIR%%/about.glade
+%%DATADIR%%/guake.glade
+%%DATADIR%%/prefs.glade
+share/icons/hicolor/16x16/apps/guake-prefs.png
+share/icons/hicolor/16x16/apps/guake.png
+share/icons/hicolor/22x22/apps/guake-prefs.png
+share/icons/hicolor/22x22/apps/guake.png
+share/icons/hicolor/24x24/apps/guake-prefs.png
+share/icons/hicolor/24x24/apps/guake.png
+share/icons/hicolor/256x256/apps/guake-prefs.png
+share/icons/hicolor/256x256/apps/guake.png
+share/icons/hicolor/32x32/apps/guake-prefs.png
+share/icons/hicolor/32x32/apps/guake.png
+share/icons/hicolor/48x48/apps/guake-prefs.png
+share/icons/hicolor/48x48/apps/guake.png
+share/pixmaps/guake/add_tab.png
+share/pixmaps/guake/guake-notification.png
+share/pixmaps/guake/guake-tray.png
+share/pixmaps/guake/guake.png
+@dirrm share/pixmaps/guake
+@dirrm %%PYTHON_SITELIBDIR%%/guake
+@dirrm %%DATADIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database || /usr/bin/true