mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
4abe8641bf
PR: 112583 Submitted by: John Holland<jholland@kazoocmh.org> (maintainer)
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: pyx12
|
|
# Date created: 29 Jan 2004
|
|
# Whom: john@zoner.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyx12
|
|
PORTVERSION= 1.4.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 \
|
|
${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
|
|
|
|
USE_PYTHON= yes
|
|
USE_BZIP2= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
MAN1= x12valid.1 x12norm.1 x12xml.1 x12html.1 xmlx12.1
|
|
MAN5= pyx12.conf.xml.5
|
|
SUB_FILES= pkg-deinstall
|
|
|
|
post-install:
|
|
${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
|
|
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
|
|
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN5} ${MAN1PREFIX}/man/man5
|
|
|
|
.include <bsd.port.mk>
|