summaryrefslogtreecommitdiff
path: root/www/ap-python/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-02-05 21:05:58 +0000
committerdrochner <drochner@pkgsrc.org>2002-02-05 21:05:58 +0000
commit92ec416ee7dc6aaa22df771e7151e963a0a1749a (patch)
tree1aad700dbd543c3e3eee24fa3834ab457ba0a3c2 /www/ap-python/Makefile
parent1096803107fad5d3e3986ac28a7251889984fda8 (diff)
downloadpkgsrc-92ec416ee7dc6aaa22df771e7151e963a0a1749a.tar.gz
ap-mod_python->ap-python
Diffstat (limited to 'www/ap-python/Makefile')
-rw-r--r--www/ap-python/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/www/ap-python/Makefile b/www/ap-python/Makefile
new file mode 100644
index 00000000000..b7e7f15fb2e
--- /dev/null
+++ b/www/ap-python/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/05 21:05:58 drochner Exp $
+#
+
+DISTNAME= mod_python-2.7.6
+PKGNAME= ap-python-2.7.6
+CATEGORIES= www
+MASTER_SITES= http://www.modpython.org/dist/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.modpython.org/
+COMMENT= Python interpretter embedded into Apache
+
+DEPENDS+= apache{,6}>=1.3:../../www/apache
+
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= PYTHON_BIN=${PYTHONBIN}
+MAKE_ENV+= PYTHONBIN=${PYTHONBIN}
+PYTHON_VERSIONS_ACCEPTED= 20
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ap-mod_python
+ ( cd ${WRKSRC}; ${PAX} -r -w -s /doc-html/ap-mod_python/ \
+ -p e doc-html ${PREFIX}/share/doc/html )
+ ${ECHO} lib/httpd/mod_python.so >${PLIST_SRC}
+ (cd ${PREFIX}; ${FIND} ${PYSITELIB}/mod_python \
+ share/doc/html/ap-mod_python \
+ -type f -print >>${PLIST_SRC} )
+ ( cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/mod_python \
+ share/doc/html/ap-mod_python \
+ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC} )
+
+.include "../../lang/python/extension.buildlink.mk"
+.include "../../www/apache/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"