02c87d436b
------------ * Added support for ARM64, LC_ENCRYPTION_INFO_64 and LC_LINKER_OPTION * Load commands now have a "describe" method that returns more information about the command. * The MAGIC value in the header was always represented in the native byte order, instead of as the value read from the binary. * Added various new constants to "macholib.mach_o".
31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2014/08/07 01:40:00 rodent Exp $
|
|
|
|
DISTNAME= macholib-1.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= https://pypi.python.org/packages/source/m/macholib/
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= http://bitbucket.org/ronaldoussoren/macholib
|
|
COMMENT= Mach-O header analysis and editing
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.11:../../graphics/py-altgraph
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
REPLACE_PYTHON+= macholib/macho_dump.py macholib/macho_find.py
|
|
REPLACE_PYTHON+= macholib/macho_standalone.py
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/macho_dump \
|
|
${DESTDIR}${PREFIX}/bin/macho_dump${PYVERSSUFFIX}
|
|
${MV} ${DESTDIR}${PREFIX}/bin/macho_find \
|
|
${DESTDIR}${PREFIX}/bin/macho_find${PYVERSSUFFIX}
|
|
${MV} ${DESTDIR}${PREFIX}/bin/macho_standalone \
|
|
${DESTDIR}${PREFIX}/bin/macho_standalone${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|