34 lines
743 B
Makefile
34 lines
743 B
Makefile
# $OpenBSD: Makefile,v 1.14 2013/03/11 11:35:55 espie Exp $
|
|
|
|
COMMENT = GeoIP Python API
|
|
|
|
MODPY_EGG_VERSION = 1.2.7
|
|
DISTNAME = GeoIP-Python-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-GeoIP-${MODPY_EGG_VERSION}
|
|
CATEGORIES = net
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = http://dev.maxmind.com/geoip/
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
# LGPL v2.1
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = http://geolite.maxmind.com/download/geoip/api/python/
|
|
|
|
MODULES = lang/python
|
|
MODPY_ADJ_FILES = test*.py
|
|
|
|
LIB_DEPENDS = net/GeoIP>=1.4.7
|
|
WANTLIB = GeoIP>=8
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/py-GeoIP
|
|
NO_TEST = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${MODPY_ADJ_FILES} ${EXAMPLEDIR}
|
|
|
|
.include <bsd.port.mk>
|