summaryrefslogtreecommitdiff
path: root/www/ap-iasp/Makefile
blob: b75dd12b3b5e0e3eebe9a08f2ab8d33957746436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $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"