d424283e95
Horia Racoviceanu <horia at racoviceanu.com> wishes to maintain these ports with my help. textproc/docbook2odf - Pass maintainership to horia at racoviceanu.com - Break lines around 80 characters - Change pkg-plist, remove mtree textproc/py-ltxml - Pass maintainership to horia at racoviceanu.com - Break lines around 80 characters textproc/xsv - Pass maintainership to horia at racoviceanu.com - Remove blank characters
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Johann Visagie <wjv@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ltxml
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PyLTXML-${PORTVERSION}
|
|
|
|
MAINTAINER= horia@racoviceanu.com
|
|
COMMENT= Python bindings to the LT XML toolkit
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ltxml12/lt-safe.h:${PORTSDIR}/textproc/ltxml
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
PORTDOCS= 00README
|
|
PORTEXAMPLES= *
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
CFLAGS+= -fPIC
|
|
.endif
|
|
|
|
post-install:
|
|
${STRIP_CMD} \
|
|
${STAGEDIR}${PYTHON}${PYTHON_SITELIBDIR}/PyLTXML/LTXMLinter.so
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.post.mk>
|