0d58f072f1
- Sort USE_PYTHON - Migrate to OPTIONS framework for do-install
32 lines
650 B
Makefile
32 lines
650 B
Makefile
# Created by: Søren Straarup <xride@x12.dk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jonpy
|
|
PORTVERSION= 0.12
|
|
CATEGORIES= www python
|
|
MASTER_SITES= SF
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Python FastCGI interface library
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= * .htaccess
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|