diff options
Diffstat (limited to 'math/py-ephem/Makefile')
-rw-r--r-- | math/py-ephem/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/math/py-ephem/Makefile b/math/py-ephem/Makefile index eafdf26df35..7bd6ce4c207 100644 --- a/math/py-ephem/Makefile +++ b/math/py-ephem/Makefile @@ -1,30 +1,21 @@ -# $NetBSD: Makefile,v 1.5 2009/05/19 08:59:23 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2010/09/20 09:52:14 obache Exp $ # -DISTNAME= pyephem-3.7b +DISTNAME= pyephem-3.7.3.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/} CATEGORIES= geography -MASTER_SITES= http://www.rhodesmill.org/brandon/projects/ +MASTER_SITES= http://pypi.python.org/packages/source/p/pyephem/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html COMMENT= Scientific-grade astronomical computations for Python -# See ../../x11/xephem/Makefile. -LICENSE= xephem-license - -RESTRICTED= Combined work is both GPL and non-Free -NO_BIN_ON_FTP= ${RESTRICTED} -NO_BIN_ON_CDROM= ${RESTRICTED} +LICENSE= gnu-lgpl-v3 OR gnu-gpl-v3 PKG_DESTDIR_SUPPORT= user-destdir -PYDISTUTILSPKG= true - -INSTALLATION_DIRS= share/doc/${PKGNAME} - -post-install: - ${INSTALL} ${WRKSRC}/doc/pyephem-manual.html ${DESTDIR}${PREFIX}/share/doc/${PKGNAME} +do-test: + (cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${MAKE_ENV} \ + ${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "test") -.include "../../lang/python/extension.mk" -.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" |