1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/mod_proxy_xml/Makefile
Martin Wilke 45a43fe6fa mod_proxy_xml is an output filter to rewrite links in a proxy
situation, to ensure that links work for users outside the proxy.
It serves the same purpose as Apache's ProxyPassReverse directive
does for HTTP headers, and is an essential component of a reverse
proxy.

WWW: http://apache.webthing.com/mod_proxy_xml/

PR:		ports/108053
Submitted by:	Dominic Marks <dom at goodforbusiness.co.uk>
2007-01-22 07:50:40 +00:00

41 lines
842 B
Makefile

# New ports collection Makefile for: mod_proxy_xml
#
# Date created: 10/01/2007
# Whom: Dominic Marks <dom@goodforbusiness.co.uk>
#
# $FreeBSD$
#
PORTNAME= mod_proxy_xml
PORTVERSION= 0.1
CATEGORIES= www
MASTER_SITES= http://apache.webthing.com/svn/apache/filters/xmlns/
DISTFILES= xmlns.h mod_proxy_xml.c
MAINTAINER= dom@helenmarks.co.uk
COMMENT= Apache module for rewriting URI references in XML
USE_GNOME= libxml2
USE_APACHE= yes
WITH_APACHE2= yes
XML2_INC= ${LOCALBASE}/include/libxml2
XML2_LIB= ${LOCALBASE}/lib
do-extract:
@${DO_NADA}
pre-fetch:
@${MKDIR} ${WRKDIR}
post-fetch:
@${CP} ${DISTDIR}/xmlns.h ${DISTDIR}/mod_proxy_xml.c ${WRKDIR}
do-build:
@(cd ${WRKDIR} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 mod_proxy_xml.c)
do-install:
@(cd ${WRKDIR} && ${APXS} -A -i mod_proxy_xml.la)
.include <bsd.port.mk>