aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wbxml2/Makefile
blob: 3713431d068e4d4348e239cd8e1a5571d986a9ef (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
# 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

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libexpat.so:${PORTSDIR}/textproc/expat2

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

USES=       cmake iconv tar:bzip2
CMAKE_SOURCE_PATH=  ..
USE_LDCONFIG=   yes

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

OPTIONS_DEFINE= DOCS

post-extract:
    @${MKDIR} ${CONFIGURE_WRKSRC}

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog NEWS README References THANKS TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>