aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wbxml2/Makefile
blob: 0ec1984fec3f6a66ecda56b98522b39469363c42 (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
# Created by: Clemens Zauner <czauner+ports@onlineloop.com>
# $FreeBSD$

PORTNAME=   wbxml2
PORTVERSION=    0.10.9
CATEGORIES= textproc devel
MASTER_SITES=   SF/libwbxml/libwbxml/${PORTVERSION}
DISTNAME=   libwbxml-${PORTVERSION}

MAINTAINER= flo@FreeBSD.org
COMMENT=    Library & tools for converting wbxml<->xml

LIB_DEPENDS=    expat.6:${PORTSDIR}/textproc/expat2

WRKSRC=         ${WRKDIR}/libwbxml-${PORTVERSION}
CONFIGURE_WRKSRC=   ${WRKDIR}/libwbxml-${PORTVERSION}/build
BUILD_WRKSRC=       ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC=     ${CONFIGURE_WRKSRC}

USE_BZIP2=  yes
USES=       cmake iconv
CMAKE_SOURCE_PATH=  ..
USE_LDCONFIG=   yes

DOCSDIR=    ${PREFIX}/share/doc/libwbxml

NO_STAGE=   yes
post-extract:
    @${MKDIR} ${CONFIGURE_WRKSRC}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog NEWS README References THANKS TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>