aboutsummaryrefslogtreecommitdiffstats
path: root/devel/decompyle/Makefile
blob: 7cdd391f8718b2f479d2b32a8fe95ea1d53dcf93 (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
# 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>