- update to 0.9

- trim Makefile header
- remove indefinite article from COMMENT
- limit python version to 2.x only (except)
- convert to optionsng (NOPORTDOCS case)
- tab -> space change in pkg-descr:WWW

Reported by:	portscout
This commit is contained in:
Ruslan Makhmatkhanov 2013-01-16 15:18:21 +00:00
parent 370621e6b2
commit cfc0486648
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310496
3 changed files with 12 additions and 14 deletions

View file

@ -1,34 +1,32 @@
# New ports collection makefile for: py-transmissionrpc # Created by: Vladimir Korkodinov <newbieman@perm.raid.ru>
# Date created: 2009-12-03
# Whom: Vladimir Korkodinov <newbieman@perm.raid.ru>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= transmissionrpc PORTNAME= transmissionrpc
PORTVERSION= 0.8 PORTVERSION= 0.9
CATEGORIES= net-p2p python CATEGORIES= net-p2p python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python DIST_SUBDIR= python
MAINTAINER= rm@FreeBSD.org MAINTAINER= rm@FreeBSD.org
COMMENT= A Python module that communicates with Transmission through JSON-RPC COMMENT= Python module that communicates with Transmission through JSON-RPC
LICENSE= MIT LICENSE= MIT
USE_PYTHON= 2.6+ USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install USE_PYDISTUTILS=easy_install
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.if !defined(NOPORTDOCS) .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PLIST_DIRS= %%DOCSDIR%% PLIST_DIRS= %%DOCSDIR%%
PLIST_FILES+= %%DOCSDIR%%/README PLIST_FILES+= %%DOCSDIR%%/README
.endif .endif
post-install: post-install:
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif .endif

View file

@ -1,2 +1,2 @@
SHA256 (python/transmissionrpc-0.8.tar.gz) = aecab48383dd231575dc6ba017f9e36a85e706bb2acd90a0ececc7777a78d25d SHA256 (python/transmissionrpc-0.9.tar.gz) = 0ea1d48ad1bdc26413361c92763e4d724b74590d73b7ae654f621d7fe13b7aa6
SIZE (python/transmissionrpc-0.8.tar.gz) = 16826 SIZE (python/transmissionrpc-0.9.tar.gz) = 18989