summaryrefslogtreecommitdiff
path: root/www/ap-csacek/Makefile
blob: 855f1a70b17323a5ebb69470dfe4c4fc8fbc5009 (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
31
# $NetBSD: Makefile,v 1.8 2001/03/27 03:20:21 hubertf 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/
COMMENT=	on-fly code set recoder

DEPENDS+=	apache*-1.3*:../../www/apache
# For "apxs":
BUILD_DEPENDS=	perl-5.*:../../lang/perl5

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"