freebsd-ports/textproc/pure-xml/Makefile
Martin Wilke 6f02349a10 This is a port of Q's XML module, which also includes support for XSLT. The
module provides a simplified interface to the Gnome libxml2 and libxslt
libraries, and supplies all the necessary data structures and operations to
inspect, create, modify and transform XML documents with ease.

WWW:	http://docs.pure-lang.googlecode.com/hg/pure-xml.html

PR:		ports/156103
Submitted by:	Zhihao Yuan <lichray at gmail.com>
2011-06-27 14:48:01 +00:00

40 lines
846 B
Makefile

# New ports collection makefile for: pure-xml
# Date created: 2011-03-18
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pure-xml
PORTVERSION= 0.6
CATEGORIES= textproc
MASTER_SITES= http://pure-lang.googlecode.com/files/
MAINTAINER= lichray@gmail.com
COMMENT= Pure language interface for libxml2 and libxslt
LIB_DEPENDS= pure.7:${PORTSDIR}/lang/pure
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GCC= 4.2+
USE_GMAKE= yes
USE_GNOME= libxml2 libxslt
PLIST_FILES= lib/pure/xml.pure \
lib/pure/xml.so
MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \
LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}"
PORTEXAMPLES= *
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.post.mk>