Changeset View
Changeset View
Standalone View
Standalone View
head/astro/py-ephem/Makefile
# Created by: db | # Created by: db | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ephem | PORTNAME= ephem | ||||
PORTVERSION= 3.7.7.1 | PORTVERSION= 3.7.7.1 | ||||
CATEGORIES= astro math python | CATEGORIES= astro math python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= rhurlin@gwdg.de | MAINTAINER= rhurlin@FreeBSD.org | ||||
COMMENT= Compute positions of the planets and stars | COMMENT= Compute positions of the planets and stars | ||||
LICENSE= LGPL3 | LICENSE= LGPL3 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= python | USES= python | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
post-install: | post-install: | ||||
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro.so | @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro.so | ||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |