summaryrefslogtreecommitdiff
path: root/textproc/zenxml/Makefile
blob: e59815457366c8fae0d71be8c4b59f0e028a3df2 (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
36

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

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

LICENSE=	GPLv3

USES=		dos2unix zip

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

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

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

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:
	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>