freebsd-ports/devel/decompyle/Makefile
2003-02-25 06:25:35 +00:00

26 lines
630 B
Makefile

# New ports collection makefile for: decompyle
# Date created: 7 March 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= decompyle
PORTVERSION= 2.2.b1
CATEGORIES= devel python
MASTER_SITES= http://www.goebel-consult.de/decompyle/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/g}
MAINTAINER= perky@FreeBSD.org
COMMENT= Python byte-code decompiler
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,${LOCALBASE}/,,g}
post-patch:
${REINPLACE_CMD} -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
${WRKSRC}/scripts/decompyle
.include <bsd.port.mk>