summaryrefslogtreecommitdiff
path: root/www/mod_xml2enc/Makefile
blob: 53dd53273ae77237a3e2b70e1f5f5c6975ac9763 (plain) (blame)
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
32
33
34
35
36
# Created by: Marin Atanasov Nikolov <dnaeon@gmail.com>
# $FreeBSD$

PORTNAME=	mod_xml2enc
PORTVERSION=	1.0.3
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://apache.webthing.com/mod_proxy_html/
DISTNAME=	mod_proxy_html
DIST_SUBDIR=	mod_proxy_html

MAINTAINER=	dnaeon@gmail.com
COMMENT=	Apache module for converting encoding before and/or after a filter run

LICENSE=	GPLv2

# included in apache24
# http://httpd.apache.org/docs/2.4/mod/mod_xml2enc.html
USE_APACHE=	22
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
SHORTMODNAME=	xml2enc
USE_BZIP2=	yes
USE_GNOME=	libxml2

AP_INC+=	${LOCALBASE}/include/libxml2 -I${WRKSRC}
AP_LIB+=	${LOCALBASE}/lib
AP_EXTRAS+=	-lxml2

PORTDOCS=	COPYING

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>