3ec156f142
Remove now unnecessary overrides in various packages.
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2014/12/31 13:57:32 wiz Exp $
|
|
|
|
DISTNAME= Flask-Admin-1.0.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/F/Flask-Admin/
|
|
|
|
MAINTAINER= kleink@NetBSD.org
|
|
HOMEPAGE= https://github.com/mrjoes/flask-admin/
|
|
COMMENT= Simple and extensible administrative interface framework for Flask
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # empty
|
|
USE_TOOLS+= pax
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask
|
|
DEPENDS+= ${PYPKGPREFIX}-wtforms-[0-9]*:../../www/py-wtforms
|
|
|
|
EGDIR= share/examples/${PKGBASE}
|
|
PLIST_SUBST+= EGDIR=${EGDIR}
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
post-extract:
|
|
rm -f ${WRKSRC}/examples/__init__.py
|
|
|
|
post-install:
|
|
.for i in LICENSE select2.css select2.min.js
|
|
${CHMOD} -x \
|
|
${DESTDIR}${PREFIX}/${PYSITELIB}/flask_admin/static/select2/${i}
|
|
.endfor
|
|
${TOUCH} ${DESTDIR}${PREFIX}/${EGDIR}/__init__.py
|
|
cd ${WRKSRC}/examples && pax -rwppm . ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|