aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-gtk2
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-04-24 05:18:01 +0800
committermezz <mezz@FreeBSD.org>2007-04-24 05:18:01 +0800
commitee23bc4d1e9433bd997ba32f48ddb39414650e24 (patch)
treedec352113f848db77d1fd49b2ccd0e9a36f76ef4 /net-p2p/transmission-gtk2
parent375c225df0d505dfbc099a177a3be5961a2312f2 (diff)
downloadfreebsd-ports-gnome-ee23bc4d1e9433bd997ba32f48ddb39414650e24.tar.gz
freebsd-ports-gnome-ee23bc4d1e9433bd997ba32f48ddb39414650e24.tar.zst
freebsd-ports-gnome-ee23bc4d1e9433bd997ba32f48ddb39414650e24.zip
Update to 0.70, as for transmission-gtk2, the prefix has been changed from
X11BASE to LOCALBASE.
Diffstat (limited to 'net-p2p/transmission-gtk2')
-rw-r--r--net-p2p/transmission-gtk2/Makefile8
-rw-r--r--net-p2p/transmission-gtk2/pkg-plist12
2 files changed, 19 insertions, 1 deletions
diff --git a/net-p2p/transmission-gtk2/Makefile b/net-p2p/transmission-gtk2/Makefile
index 49992be3aae2..4e03a862bdd4 100644
--- a/net-p2p/transmission-gtk2/Makefile
+++ b/net-p2p/transmission-gtk2/Makefile
@@ -13,16 +13,22 @@ COMMENT= A free BitTorrent client written from scratch in C with GTK+2
MASTERDIR= ${.CURDIR}/../transmission
PLIST= ${.CURDIR}/pkg-plist
+USE_XLIB= yes
USE_GNOME= gtk20
SLAVE_TRANS= yes
USE_GETTEXT= yes
-USE_X_PREFIX= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+MAN1= transmission-gtk.1
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
post-patch: general-patch
@${REINPLACE_CMD} -e 's|TARGETS = .cli|#TARGETS = .cli|g' \
${WRKSRC}/mk/default.mk
+ @${REINPLACE_CMD} -e 's|TryExec=.*||g ; /^$$/d' \
+ ${WRKSRC}/gtk/transmission-gtk.desktop
+
+post-install: general-install
+ @-update-desktop-database
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/transmission-gtk2/pkg-plist b/net-p2p/transmission-gtk2/pkg-plist
index 677a57c195fe..40dd989367e9 100644
--- a/net-p2p/transmission-gtk2/pkg-plist
+++ b/net-p2p/transmission-gtk2/pkg-plist
@@ -1,8 +1,20 @@
bin/transmission-gtk
+share/applications/transmission-gtk.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/bg/LC_MESSAGES/transmission-gtk.mo
+share/locale/es/LC_MESSAGES/transmission-gtk.mo
+share/locale/fi/LC_MESSAGES/transmission-gtk.mo
share/locale/fr/LC_MESSAGES/transmission-gtk.mo
share/locale/it/LC_MESSAGES/transmission-gtk.mo
+share/locale/pl/LC_MESSAGES/transmission-gtk.mo
+share/locale/ro/LC_MESSAGES/transmission-gtk.mo
+share/locale/ru/LC_MESSAGES/transmission-gtk.mo
+share/locale/sv/LC_MESSAGES/transmission-gtk.mo
+share/pixmaps/transmission.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true