2018-07-03 07:03:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2018/07/03 05:03:34 adam Exp $
|
2013-09-30 19:25:51 +02:00
|
|
|
|
2014-05-27 08:35:19 +02:00
|
|
|
DISTNAME= v0.7.6
|
2013-09-30 19:25:51 +02:00
|
|
|
PROPERNAME= ${DISTNAME:S/v/xattr-/}
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${PROPERNAME}
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= https://github.com/xattr/xattr/archive/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/xattr/xattr/
|
|
|
|
COMMENT= Python wrapper for extended filesystem attributes
|
|
|
|
LICENSE= mit
|
|
|
|
|
2013-11-26 21:25:42 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.8.1:../../devel/py-cffi
|
2013-10-02 13:44:42 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
|
2013-09-30 19:25:51 +02:00
|
|
|
|
|
|
|
DIST_SUBDIR= xattr
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PROPERNAME}
|
|
|
|
EGG_NAME= ${PROPERNAME}
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
REPLACE_PYTHON= xattr/tool.py
|
|
|
|
|
2014-05-27 08:35:19 +02:00
|
|
|
# XXX: builds, installs, but cannot be executed
|
2018-07-03 07:03:01 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37
|
2014-01-25 11:29:56 +01:00
|
|
|
|
2014-05-27 08:35:19 +02:00
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/xattr \
|
2017-01-03 14:23:01 +01:00
|
|
|
${DESTDIR}${PREFIX}/bin/xattr-${PYVERSSUFFIX} || ${TRUE}
|
2014-05-27 08:35:19 +02:00
|
|
|
|
2013-09-30 19:25:51 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|