bb07b6a262
Submitted by Xavier Santolaria <xavier@santolaria.net>. mod_random provides three services. The first service is as a redirector. The second is that it provides environmental variables that can be used for doing ad banner systems. The third is that it can be used to display entire pages of random html.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2003/05/26 14:24:11 naddy 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 <xavier@santolaria.net>
|
|
|
|
# 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>
|