summaryrefslogtreecommitdiff
path: root/www/ap-csacek/Makefile
blob: bbaefe4686b144e4fe741ecce40b210861aca9f9 (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.6 2000/09/05 09:33:17 jlam Exp $
#

DISTNAME=	csacek-2.1.4
PKGNAME=	ap-csacek-2.1.4
CATEGORIES=	www
MASTER_SITES=	http://www.csacek.cz/distrib/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jdolecek@netbsd.org
# Note the homepage is in czech language only
HOMEPAGE=	http://www.csacek.cz/

DEPENDS+=	apache*-1.3*:../../www/apache
# For "apxs":
BUILD_DEPENDS=	${PERL5}:../../lang/perl5-base

HAS_CONFIGURE=	yes

CONFIGURE_ARGS+= --with-templatedir=${PREFIX}/share/csacek \
		--with-target=Apache
MAKE_ENV+=	LOCALBASE=${LOCALBASE}

do-install:
	@${INSTALL_DATA} ${WRKSRC}/mod_csacek.so ${PREFIX}/lib/httpd/
	@${INSTALL_DATA_DIR} ${PREFIX}/share/csacek
	@${INSTALL_DATA} ${WRKSRC}/templates/whichcode_template.html \
		${PREFIX}/share/csacek/

.include "../../mk/bsd.pkg.mk"