1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/py-uncompyle2/Makefile
Ruslan Makhmatkhanov 11207ad0bb - fix CATEGORIES
2013-01-06 10:50:51 +00:00

29 lines
669 B
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= uncompyle2
PORTVERSION= 1.1
CATEGORIES= devel
MASTER_SITES= https://github.com/Mysterie/${PORTNAME}/tarball/${HASH}/
PKGNAMEPREFIX= py-
DISTNAME= Mysterie-${PORTNAME}-${HASH}
MAINTAINER= mi@aldan.algebra.com
COMMENT= Decompiler for Python's .pyc and .pyo files
FETCH_ARGS= -Fpr
HASH = 3956a5a
USE_PYTHON= 2.7
USE_PYDISTUTILS=yes
REINPLACE_ARGS= -i ""
pre-patch:
# Removing blanks at EOL
${FIND} ${WRKSRC} -type f -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -E 's/[[:blank:]]+$$//g'
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/uncompyle2.py ${PREFIX}/bin/uncompyle2
.include <bsd.port.mk>