c6b846f14f
and fix mod_security packaging while there "go ahead" steven@
36 lines
827 B
Makefile
36 lines
827 B
Makefile
# $OpenBSD: Makefile,v 1.6 2007/06/30 15:32:30 simon Exp $
|
|
|
|
COMMENT= "Apache module that provides randomized services"
|
|
|
|
DISTNAME= mod_random-1.4
|
|
PKGNAME= ${DISTNAME}p2
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://software.tangent.org/projects.pl?view=mod_random
|
|
MASTER_SITES= http://software.tangent.org/download/ \
|
|
ftp://ftp.tangent.org/pub/apache/
|
|
MODULES+= apache-module
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODAPACHE_NAME= random
|
|
|
|
NO_REGRESS= Yes
|
|
APXS= /usr/sbin/apxs
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${APXS} -c -o mod_random.so mod_random.c
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_random
|
|
${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/mod_random
|
|
${MODAPACHE_INSTALL}
|
|
|
|
.include <bsd.port.mk>
|