aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mxml/Makefile
blob: 6b8fc3fa3104ef41210e44f4d9b05993c23e24f5 (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
43
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mxml
PORTVERSION=    2.7
CATEGORIES= textproc
MASTER_SITES=   http://www.msweet.org/files/project3/

MAINTAINER= hsmtkk@gmail.com
COMMENT=    Small XML parsing library

LICENSE=    MXML
LICENSE_NAME=   Mini-XML License
LICENSE_FILE=   ${WRKSRC}/COPYING
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
USES=   pathfix
CONFIGURE_ARGS= --with-docdir=no
MAKE_JOBS_SAFE= yes
USE_LDCONFIG=   yes

MAN1=   mxmldoc.1
MAN3=   mxml.3

PORTDOCS=   *

PLIST_FILES=    bin/mxmldoc include/mxml.h \
        lib/libmxml.a \
        lib/libmxml.so lib/libmxml.so.1 lib/libmxml.so.1.5 \
        libdata/pkgconfig/mxml.pc

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif

.include <bsd.port.mk>