337c6b1297
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
30 lines
727 B
Makefile
30 lines
727 B
Makefile
# $NetBSD: Makefile,v 1.11 2006/06/02 18:27:59 joerg Exp $
|
|
|
|
.include "../../www/iasp/Makefile.common"
|
|
|
|
PKGNAME= ap13-iasp-${IASP_VERSION}
|
|
COMMENT= Apache connector for accessing a iASP proxy server
|
|
|
|
CONFLICTS= ap-iasp-[0-9]*
|
|
|
|
DEPENDS+= {iasp-${IASP_VERSION},iasp-${IASP_VERSION}nb*}:../../www/iasp
|
|
|
|
IASP_SRCDIR= ${IASP_DIR}/bin/apache/source/1.3
|
|
|
|
WRKSRC= ${WRKDIR}/${IASP_SRCDIR}
|
|
APACHE_MODULE= # defined
|
|
MESSAGE_SUBST+= IASP_DESTDIR=${IASP_DESTDIR}
|
|
|
|
USE_TOOLS+= gtar
|
|
|
|
post-extract:
|
|
cd ${WRKDIR}; ${GTAR} -xf ${IASP_TARFILE} ${IASP_SRCDIR}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${APXS} -c -o mod_iasp.so *.c
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${APXS} -i mod_iasp.so
|
|
|
|
.include "../../www/apache/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|