aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_xmlns/Makefile
blob: 06ef5feb1dbfb34498dfb68d4807693e1902d624 (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
37
38
39
40
41
42
43
# 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>