2d06942b11
PR: ports/128915 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw> Approved by: Denis Shaposhnikov <dsh AT vlink.ru> (maintainer)
33 lines
747 B
Makefile
33 lines
747 B
Makefile
# New ports collection makefile for: py-decorator
|
|
# Date created: Thu Jun 21 14:49:52 MSD 2007
|
|
# Whom: Denis Shaposhnikov <dsh@vlink.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= decorator
|
|
PORTVERSION= 2.3.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.phyast.pitt.edu/~micheles/python/ \
|
|
http://pylonshq.com/download/0.9.5/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dsh@vlink.ru
|
|
COMMENT= Better living through Python with decorators
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= easy_install
|
|
USE_ZIP= yes
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
PORTDOCS= documentation.*
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|