41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2004/01/30 08:39:49 xsa Exp $
|
|
|
|
COMMENT= "Apache module that provides randomized services"
|
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
# and has Apache that supports DSO's.
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
DISTNAME= mod_random-1.4
|
|
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/
|
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
APXS= /usr/sbin/apxs
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${APXS} -c -o mod_random.so mod_random.c
|
|
@sed 's,!!PREFIX!!,${PREFIX},' \
|
|
< ${FILESDIR}/mod_random-enable \
|
|
> ${WRKBUILD}/mod_random-enable
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKBUILD}/mod_random.so ${PREFIX}/lib
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_random-enable ${PREFIX}/sbin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_random
|
|
${INSTALL_DATA} ${WRKSRC}/faq.html ${PREFIX}/share/doc/mod_random
|
|
|
|
.include <bsd.port.mk>
|