f1e7eab840
packing-lists was changes in significant ways, and they do not have enough dependencies that pkg_add can detect they changed through their signature. Bump the pkgname, so that pkg_add -r will choose to update them. okay pvalchev@
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2005/08/17 16:10:05 espie 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
|
|
PKGNAME= ${DISTNAME}p0
|
|
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/
|
|
|
|
# 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>
|