26 lines
812 B
Makefile
26 lines
812 B
Makefile
# $NetBSD: Makefile,v 1.11 2019/09/02 13:19:50 adam Exp $
|
|
|
|
DISTNAME= pymetar-0.21
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= http://www.schwarzvogel.de/pkgs/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.schwarzvogel.de/software-pymetar.shtml
|
|
COMMENT= Downloads weather reports
|
|
LICENSE= gnu-gpl-v2 # or later
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 0.19
|
|
|
|
SUBST_CLASSES+= manpath
|
|
SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},'
|
|
SUBST_FILES.manpath+= setup.py
|
|
SUBST_STAGE.manpath= pre-configure
|
|
SUBST_MESSAGE.manpath= Fix man page installation path.
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/bin/pymetar ${WRKSRC}/bin/pymetar${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|