aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/mxml/Makefile
blob: 13924b97634abfbd16aa3f5e82d26833ac22c137 (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: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mxml
PORTVERSION=    2.7
PORTREVISION=   1
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
USES=       pathfix desthack
CONFIGURE_ARGS= --with-docdir=no
USE_LDCONFIG=   yes

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 \
        man/man1/mxmldoc.1.gz \
        man/man3/mxml.3.gz

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>