2011-10-09 05:18:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2011/10/09 09:18:50 benoit Exp $
|
2009-03-08 08:55:58 -04:00
|
|
|
|
|
|
|
COMMENT = GeoIP Python API
|
|
|
|
|
2011-10-09 05:18:50 -04:00
|
|
|
MODPY_EGG_VERSION = 1.2.7
|
2009-03-08 08:55:58 -04:00
|
|
|
DISTNAME = GeoIP-Python-${MODPY_EGG_VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME = py-GeoIP-${MODPY_EGG_VERSION}
|
2009-03-08 08:55:58 -04:00
|
|
|
CATEGORIES = net
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.maxmind.com/app/python
|
|
|
|
|
2009-12-20 12:01:59 -05:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2009-03-08 08:55:58 -04:00
|
|
|
|
|
|
|
# LGPL v2.1
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = http://geolite.maxmind.com/download/geoip/api/python/
|
|
|
|
|
|
|
|
MODULES = lang/python
|
2011-06-13 04:47:51 -04:00
|
|
|
MODPY_ADJ_FILES = test*.py
|
2009-03-08 08:55:58 -04:00
|
|
|
|
2011-05-19 17:15:32 -04:00
|
|
|
LIB_DEPENDS = net/GeoIP>=1.4.7
|
2011-05-12 11:33:59 -04:00
|
|
|
WANTLIB = GeoIP>=8
|
2009-03-08 08:55:58 -04:00
|
|
|
|
|
|
|
EXAMPLEDIR = ${PREFIX}/share/examples/py-GeoIP
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
2011-06-13 04:47:51 -04:00
|
|
|
|
2009-03-08 08:55:58 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
2011-10-09 05:18:50 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${MODPY_ADJ_FILES} ${EXAMPLEDIR}
|
2009-03-08 08:55:58 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|