aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/transmission-gtk/Makefile')
-rw-r--r--net-p2p/transmission-gtk/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-p2p/transmission-gtk/Makefile b/net-p2p/transmission-gtk/Makefile
new file mode 100644
index 000000000000..58c30c6ea673
--- /dev/null
+++ b/net-p2p/transmission-gtk/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -gtk2
+
+MAINTAINER= crees@FreeBSD.org
+COMMENT= Fast and lightweight GTK+2 BitTorrent client
+
+LIB_DEPENDS= ${GEN_LIB_DEPENDS} \
+ notify.4:${PORTSDIR}/devel/libnotify \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS= ${GEN_RUN_DEPENDS} \
+ xdg-open:${PORTSDIR}/devel/xdg-utils
+
+DESCR= ${.CURDIR}/pkg-descr
+MASTERDIR= ${.CURDIR}/../transmission-cli
+PLIST= ${.CURDIR}/pkg-plist
+SLAVEPORT= gtk2
+
+USE_GNOME= gnomehack gtk30 desktopfileutils intlhack
+USE_GETTEXT= yes
+INSTALLS_ICONS= yes
+
+EXTRA_CONF_ARGS=--disable-cli \
+ --disable-daemon \
+ --with-gtk \
+ --enable-inotify \
+ --disable-mac \
+ --enable-nls
+
+MAN1= transmission-gtk.1
+
+post-patch: general-patch
+ @${REINPLACE_CMD} -e 's|TryExec=.*||g ; /^$$/d' \
+ ${WRKSRC}/gtk/transmission-gtk.desktop.in
+
+post-install: general-install
+ @-update-desktop-database
+
+.include "${MASTERDIR}/Makefile"