summaryrefslogtreecommitdiff
path: root/textproc/mxml/Makefile
blob: 706090f3df2c9dcf24367ff69abc97cb96d08753 (plain)
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
# New ports collection makefile for:	mxml
# Date created:		2007-10-12
# Whom:			Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mxml
PORTVERSION=	2.6
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_EASYSW}
MASTER_SITE_SUBDIR=	mxml/${PORTVERSION}

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

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
USE_GNOME=	gnomehack
CONFIGURE_ARGS=	--with-docdir=no
MAKE_JOBS_SAFE=	yes

MAN1=	mxmldoc.1
MAN3=	mxml.3

PORTDOCS=	*

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

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${CP} -R ${PORTDOCS:S,^,${WRKSRC}/doc,} ${DOCSDIR}
.endif

.include <bsd.port.mk>