1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/textproc/py-dsv/Makefile
Li-Wen Hsu bfb304ec3c - Update to 1.4.1
PR:		ports/144358
Submitted by:	Kouki Hashimoto <hsmtkk AT gmail.com>
2010-04-03 20:43:22 +00:00

38 lines
919 B
Makefile

# New ports collection makefile for: py-csv
# Date created: 17 January 2002
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dsv
PORTVERSION= 1.4.1
CATEGORIES= textproc python
MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Python module to parse or write delimeter-separated (e.g. CSV) files
.if defined(WITH_GUI)
USE_WX= 2.4
WX_COMPS= python
.endif
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= DSV
DSV_BASEDIR= ${PYTHONPREFIX_SITELIBDIR}/DSV
post-install:
@${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DSV_BASEDIR}/DSV.py "$$@"\n' \
>${WRKDIR}/DSV.sh
@ ${INSTALL_SCRIPT} ${WRKDIR}/DSV.sh ${PREFIX}/bin/DSV
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>