1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/py-formencode/Makefile

42 lines
884 B
Makefile

# New ports collection makefile for: py-formencode
# Date created: 2005-11-16
# Whom: Choe, Cheng-Dae
#
# $FreeBSD$
#
PORTNAME= formencode
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= FormEncode-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
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>