1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/pythontidy/Makefile
Li-Wen Hsu 69dd27cc3c - Change to my FreeBSD.org email
Approved by:     clsung (mentor)
2007-04-04 08:49:31 +00:00

36 lines
820 B
Makefile

# New ports collection makefile for: pythontidy
# Date created: Jan. 16 ,2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= pythontidy
PORTVERSION= 1.11
CATEGORIES= devel python
MASTER_SITES= http://www.lacusveris.com/PythonTidy/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PythonTidy-${PORTVERSION}.python
EXTRACT_SUFX= #
DIST_SUBDIR= python
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Cleans up, regularizes, and reformats the text of Python scripts
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/pythontidy
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
do-patch:
${REINPLACE_CMD} -e s,/usr/bin/python,${PYTHON_CMD}, ${WRKDIR}/${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/pythontidy
.include <bsd.port.mk>