63f3e3b0d4
- s/USE_APACHE= 20+/USE_APACHE= 22+/ - unify s/YES/yes/ - cleanup APACHE_VERSION <= 22 usage - add entry to MOVED with hat apache@
43 lines
859 B
Makefile
43 lines
859 B
Makefile
# New ports collection Makefile for: mod_xmlns
|
|
#
|
|
# Date created: 10/01/2007
|
|
# Whom: Dominic Marks <dom@goodforbusiness.co.uk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_xmlns
|
|
PORTVERSION= 0.97
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://apache.webthing.com/svn/apache/filters/xmlns/
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
DISTFILES= xmlns.h mod_xmlns.c
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Apache module for XML namespaces
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_GNOME= libxml2
|
|
USE_APACHE= 22+
|
|
|
|
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_xmlns.c ${WRKDIR}
|
|
|
|
do-build:
|
|
@(cd ${WRKDIR} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 mod_xmlns.c)
|
|
|
|
do-install:
|
|
@(cd ${WRKDIR} && ${APXS} -A -i mod_xmlns.la)
|
|
|
|
.include <bsd.port.mk>
|