[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-macholib

File: [cvs.NetBSD.org] / pkgsrc / devel / py-macholib / Makefile (download)

Revision 1.5, Sun Aug 28 15:48:30 2016 UTC (2 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.4: +1 -2 lines

Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.

# $NetBSD: Makefile,v 1.5 2016/08/28 15:48:30 wiz Exp $

DISTNAME=	macholib-1.7
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=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

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"