1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/textproc/xsv/Makefile
Marcus von Appen da133473c3 - Convert to USES=python
Approved by:	portmgr (implicit)
2014-09-28 18:47:31 +00:00

37 lines
909 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= xsv
PORTVERSION= 3.1
CATEGORIES= textproc python
MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/XSV/
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
MAINTAINER= horia@racoviceanu.com
COMMENT= XML Schema Validator
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ltxml>0:${PORTSDIR}/textproc/py-ltxml
USES= python
USE_PYTHON= distutils autoplist
USE_LDCONFIG= yes
PORTDOCS= pc-shrinkwrap xsv-status.xml xsv-status.html
PORTEXAMPLES= triv.xml triv.xsd tiny.xml tiny.xsd
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.post.mk>