42 lines
994 B
Makefile
42 lines
994 B
Makefile
# $OpenBSD: Makefile,v 1.5 2011/09/16 09:24:54 espie Exp $
|
|
|
|
COMMENT = python bytecode assembler
|
|
|
|
MODPY_EGG_VERSION = 0.5.1
|
|
DISTNAME = BytecodeAssembler-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-bytecodeassembler-${MODPY_EGG_VERSION}
|
|
REVISION = 2
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://peak.telecommunity.com/DevCenter/BytecodeAssembler
|
|
|
|
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
|
|
|
|
# PSF
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=B/BytecodeAssembler/}
|
|
EXTRACT_SUFX = .zip
|
|
UNZIP = unzip -a
|
|
|
|
MODULES = lang/python
|
|
RUN_DEPENDS = devel/py-decoratortools \
|
|
devel/py-symboltype
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
post-extract:
|
|
@find ${WRKSRC} -type f -exec chmod 644 {} \;
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-bytecodeassembler
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt \
|
|
${PREFIX}/share/doc/py-bytecodeassembler/
|
|
|
|
.include <bsd.port.mk>
|