blob: 547b634f22aa16f276f7cc3ee0ddac94adddfaa6 (
plain) (
tree)
|
|
# New ports collection makefile for: py-formencode
# Date created: 2005-11-16
# Whom: Choe, Cheng-Dae
#
# $FreeBSD$
#
PORTNAME= formencode
PORTVERSION= 1.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= FormEncode-${PORTVERSION}
MAINTAINER= dryice@FreeBSD.org
COMMENT= HTML form validation, generation, and conversion package
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
USE_GETTEXT= yes
PYDISTUTILS_PKGNAME= FormEncode
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= *
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
|