aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/transmission-gtk2
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-06-25 04:10:38 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-06-25 04:10:38 +0000
commit655b27ec372a79b5ae805075d595748d972c195c (patch)
tree26188895936e065e27d16f9df96fb8bac54e6f73 /net-p2p/transmission-gtk2
parente57d87912f0036b8dd5f9cdc4ac04989415cd4d2 (diff)
downloadports-655b27ec372a79b5ae805075d595748d972c195c.tar.gz
ports-655b27ec372a79b5ae805075d595748d972c195c.zip
Notes
Diffstat (limited to 'net-p2p/transmission-gtk2')
-rw-r--r--net-p2p/transmission-gtk2/Makefile14
-rw-r--r--net-p2p/transmission-gtk2/pkg-plist7
2 files changed, 14 insertions, 7 deletions
diff --git a/net-p2p/transmission-gtk2/Makefile b/net-p2p/transmission-gtk2/Makefile
index 7133d112c3b5..49992be3aae2 100644
--- a/net-p2p/transmission-gtk2/Makefile
+++ b/net-p2p/transmission-gtk2/Makefile
@@ -11,18 +11,18 @@ PKGNAMESUFFIX= -gtk2
COMMENT= A free BitTorrent client written from scratch in C with GTK+2
MASTERDIR= ${.CURDIR}/../transmission
+PLIST= ${.CURDIR}/pkg-plist
USE_GNOME= gtk20
-SLAVE_PORT= yes
+SLAVE_TRANS= yes
+USE_GETTEXT= yes
USE_X_PREFIX= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --gettext-prefix=${LOCALBASE}
+CONFIGURE_ARGS= --prefix=${PREFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-PLIST_FILES= bin/transmission-gtk
-
-do-install: docsfiles
- ${INSTALL_PROGRAM} ${WRKSRC}/gtk/transmission-gtk ${PREFIX}/bin/
+post-patch: general-patch
+ @${REINPLACE_CMD} -e 's|TARGETS = .cli|#TARGETS = .cli|g' \
+ ${WRKSRC}/mk/default.mk
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/transmission-gtk2/pkg-plist b/net-p2p/transmission-gtk2/pkg-plist
new file mode 100644
index 000000000000..6e6d8a65e9b9
--- /dev/null
+++ b/net-p2p/transmission-gtk2/pkg-plist
@@ -0,0 +1,7 @@
+bin/transmission-gtk
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/it/LC_MESSAGES/transmission-gtk.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%