aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wbxml2/Makefile
blob: a2a7e5caffec239d1c33a335ec1bb6412fcc907d (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
# New ports collection makefile for:    wbxml
# Date created:         Nov 04, 2005
# Whom:             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

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>