aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-pyx12/Makefile
blob: e8ab10cc0b84355822ce9275d8e0efeff59fb7ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    pyx12
# Date created:     29 Jan 2004
# Whom:         john@zoner.org
#
# $FreeBSD$
#

PORTNAME=   pyx12
PORTVERSION=    1.2.0
CATEGORIES= textproc python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyx12-${PORTVERSION:S/.b/b/}

MAINTAINER= jholland@kazoocmh.org
COMMENT=    Validate and convert HIPAA X12 documents

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2

USE_PYTHON= yes
USE_BZIP2=  yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

post-install:
    ${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/

.include <bsd.port.mk>