aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2010-11-18 00:02:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2010-11-18 00:02:04 +0800
commita02e826decc6fde9dea64e99ae9ba6b0d5da0e79 (patch)
tree660ab8122845fd668d6a6af0ffe90260968e4381 /net-p2p
parent98a666d863cd78de23471817056c4f213f7001f8 (diff)
downloadfreebsd-ports-gnome-a02e826decc6fde9dea64e99ae9ba6b0d5da0e79.tar.gz
freebsd-ports-gnome-a02e826decc6fde9dea64e99ae9ba6b0d5da0e79.tar.zst
freebsd-ports-gnome-a02e826decc6fde9dea64e99ae9ba6b0d5da0e79.zip
- Use PLIST_DIRS/PLIST_FILES instead of PLIST
- Space/tab twiddle PR: ports/152311 Submitted by: sunpoet (myself) Approved by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-transmissionrpc/Makefile11
-rw-r--r--net-p2p/py-transmissionrpc/pkg-plist3
2 files changed, 9 insertions, 5 deletions
diff --git a/net-p2p/py-transmissionrpc/Makefile b/net-p2p/py-transmissionrpc/Makefile
index 52411b5b0bc1..c4554d5251ca 100644
--- a/net-p2p/py-transmissionrpc/Makefile
+++ b/net-p2p/py-transmissionrpc/Makefile
@@ -17,8 +17,15 @@ COMMENT= A python module communicates with Transmission through json-rpc
LICENSE= MIT
-USE_PYTHON= 2.6+
-USE_PYDISTUTILS= easy_install
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS=easy_install
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+.if !defined(NOPORTDOCS)
+PLIST_DIRS= %%DOCSDIR%%
+PLIST_FILES+= %%DOCSDIR%%/README
+.endif
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net-p2p/py-transmissionrpc/pkg-plist b/net-p2p/py-transmissionrpc/pkg-plist
deleted file mode 100644
index e6155a5cb3a7..000000000000
--- a/net-p2p/py-transmissionrpc/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%