1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- add stage support

- add LICENSE
This commit is contained in:
Olli Hauer 2014-04-15 16:00:50 +00:00
parent 185d57e0e3
commit 1a16aa2d12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351347
2 changed files with 6 additions and 8 deletions

View File

@ -13,6 +13,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module that embeds the Python interpreter within the server
LICENSE= APACHE20
USE_APACHE= 22
USE_PYTHON= yes
@ -28,12 +30,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS+= APXS=${APXS}
MAKE_ENV= EXPR_COMPAT=yes
NO_STAGE= yes
post-install:
@${CAT} ${PKGMESSAGE}
# You need to install apache & mod_python before you run this
regression-test: build
@cd ${WRKSRC} && ${MAKE} check
-@${MAKE} check -C ${WRKSRC}
.include <bsd.port.mk>

View File

@ -1,6 +1,3 @@
%%APACHEMODDIR%%/%%AP_MODULE%%
@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
%%PYTHON_SITELIBDIR%%/mod_python/Cookie.py
%%PYTHON_SITELIBDIR%%/mod_python/Cookie.pyc
%%PYTHON_SITELIBDIR%%/mod_python/Cookie.pyo
@ -38,4 +35,7 @@
%%PYTHON_SITELIBDIR%%/mod_python/util.py
%%PYTHON_SITELIBDIR%%/mod_python/util.pyc
%%PYTHON_SITELIBDIR%%/mod_python/util.pyo
%%APACHEMODDIR%%/%%AP_MODULE%%
@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
@dirrm %%PYTHON_SITELIBDIR%%/mod_python