freebsd-ports/www/py-formencode/Makefile
William Grzybowski 857927137f www/py-formencode: switch from easy_install
- Switch from easy_install to install
- Allow staging
- Use python auto plist
- Take maintainership
2013-12-20 19:12:56 +00:00

32 lines
643 B
Makefile

# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= formencode
PORTVERSION= 1.2.6
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= FormEncode-${PORTVERSION}
MAINTAINER= wg@FreeBSD.org
COMMENT= HTML form validation, generation, and conversion package
LICENSE= PSFL
OPTIONS_DEFINE= DOCS
USE_ZIP= yes
USES= gettext:run
USE_PYTHON= 2
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>