aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/transmission-gtk2
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-04-23 21:18:01 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-04-23 21:18:01 +0000
commit4972deae12beb73bbc23d647d279111ddf890e89 (patch)
tree7ceae571fa53542b9ea6ed508bae69d270f664ff /net-p2p/transmission-gtk2
parent3c7dfb5dbac87ee652f3dcbcef53ebb66b226489 (diff)
Notes
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