2004-02-11 23:30:47 +01:00
|
|
|
# New ports collection makefile for: pyx12
|
|
|
|
# Date created: 29 Jan 2004
|
|
|
|
# Whom: john@zoner.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyx12
|
2008-06-19 04:36:30 +02:00
|
|
|
PORTVERSION= 1.5.0
|
2004-02-11 23:30:47 +01:00
|
|
|
CATEGORIES= textproc python
|
2004-02-24 15:50:33 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-02-11 23:30:47 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pyx12-${PORTVERSION:S/.b/b/}
|
|
|
|
|
2005-06-29 05:24:23 +02:00
|
|
|
MAINTAINER= jholland@kazoocmh.org
|
2005-07-01 16:24:41 +02:00
|
|
|
COMMENT= Validate and convert HIPAA X12 documents
|
2004-02-11 23:30:47 +01:00
|
|
|
|
2007-05-30 08:51:59 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
|
|
|
|
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
|
|
|
|
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
|
2004-02-11 23:30:47 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2005-09-04 15:43:01 +02:00
|
|
|
USE_BZIP2= yes
|
2004-02-11 23:30:47 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
|
2007-05-30 08:51:59 +02:00
|
|
|
MAN1= x12valid.1 x12norm.1 x12xml.1 x12html.1 xmlx12.1
|
2007-04-28 14:28:47 +02:00
|
|
|
MAN5= pyx12.conf.xml.5
|
|
|
|
SUB_FILES= pkg-deinstall
|
|
|
|
|
2004-02-11 23:30:47 +01:00
|
|
|
post-install:
|
|
|
|
${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
|
2007-04-28 14:28:47 +02:00
|
|
|
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
|
2008-06-19 04:36:30 +02:00
|
|
|
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5
|
2004-02-11 23:30:47 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|