1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/textproc/mini-xml/Makefile
Pietro Cerutti 272b2e639a - Respect NOPORTDOCS
Reported by:	QA Tindie
2008-08-28 08:05:13 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: mini-xml
# Date created: 01 Jan 2004
# Whom: Vladimir Osintsev <oc@cynic.ru>
# $FreeBSD$
PORTNAME= mini-xml
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://ftp.easysw.com/pub/mxml/${PORTVERSION}/ \
ftp://ftp3.easysw.com/pub/mxml/${PORTVERSION}/ \
http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/mxml/${PORTVERSION}/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/mxml/${PORTVERSION}/ \
ftp://ftp.easysw.com/pub/mxml/${PORTVERSION}/
DISTNAME= mxml-${PORTVERSION}
MAINTAINER= oc@cynic.ru
COMMENT= Lightweight XML parsing library
USE_GNOME= gnometarget pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
MAN1= mxmldoc.1
MAN3= mxml.3
CAT1= mxmldoc.1
CAT3= mxml.3
.if defined(NOPORTDOCS)
post-patch:
${REINPLACE_CMD} -e '130,133d' ${WRKSRC}/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/test.xml ${DOCSDIR}
${MKDIR} ${DOCSDIR}/samples
.for SN in class enum function struct
${INSTALL_MAN} ${WRKSRC}/test/${SN}.cxx ${DOCSDIR}/samples/
.endfor
.endif
.include <bsd.port.mk>