summaryrefslogtreecommitdiffstats
path: root/textproc/zenxml/Makefile
blob: 0f12608d5022216e85602482de08c91616275b36 (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
32
33
34
35
# $FreeBSD$

PORTNAME=	zenxml
PORTVERSION=	2.3
CATEGORIES=	textproc
MASTER_SITES=	SF/${PORTNAME}/
DISTNAME=	zenXml_${PORTVERSION}

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Simple XML processing using C++

LICENSE=	GPLv3

USES=		dos2unix zip

NO_BUILD=	yes
WRKSRC=		${WRKDIR}

ZENINC=		${PREFIX}/include/${PORTNAME:S/xml//}

OPTIONS_DEFINE=	DOCS

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
	${MKDIR} ${STAGEDIR}${ZENINC}
	(cd ${WRKSRC}/${PORTNAME} && \
	    ${COPYTREE_SHARE} \*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME})
	(cd ${WRKSRC}/${PORTNAME:S/xml//} && \
	    ${COPYTREE_SHARE} \*.h ${STAGEDIR}${ZENINC})

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${CP} -R ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud