freebsd-ports/astro/py-pywapi/Makefile
Kevin Lo 844db02aa4 Import py-pywapi 0.3.8
The pywapi module provides a python wrapper around the Yahoo! Weather,
Weather.com and NOAA APIs.
2016-08-04 15:21:41 +00:00

29 lines
649 B
Makefile

# $FreeBSD$
PORTNAME= pywapi
PORTVERSION= 0.3.8
CATEGORIES= astro python
MASTER_SITES= http://launchpad.net/python-weather-api/trunk/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Python wrapper around different weather APIs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>