freebsd-ports/net-p2p/py-transmissionrpc/Makefile
Sunpoet Po-Chuan Hsieh acd73063c2 - 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)
2010-11-17 16:02:04 +00:00

36 lines
789 B
Makefile

# New ports collection makefile for: py-transmissionrpc
# Date created: 2009-12-03
# Whom: Vladimir Korkodinov <newbieman@perm.raid.ru>
#
# $FreeBSD$
#
PORTNAME= transmissionrpc
PORTVERSION= 0.7
CATEGORIES= net-p2p python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
MAINTAINER= cvs-src@yandex.ru
COMMENT= A python module communicates with Transmission through json-rpc
LICENSE= MIT
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)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>