openbsd-ports/net/py-GeoIP/Makefile
jasper 056c1a5ce7 - use MODPY_ADJ_FILES
- various small tweaks
2011-06-13 08:47:51 +00:00

38 lines
843 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/06/13 08:47:51 jasper Exp $
COMMENT = GeoIP Python API
MODPY_EGG_VERSION = 1.2.5
REVISION = 2
DISTNAME = GeoIP-Python-${MODPY_EGG_VERSION}
PKGNAME = py-GeoIP-${MODPY_EGG_VERSION}
CATEGORIES = net
HOMEPAGE = http://www.maxmind.com/app/python
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# 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
MODPY_ADJ_FILES = test*.py
LIB_DEPENDS = net/GeoIP>=1.4.7
WANTLIB = GeoIP>=8
EXAMPLEDIR = ${PREFIX}/share/examples/py-GeoIP
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_SCRIPT} ${WRKSRC}/test* ${EXAMPLEDIR}
.include <bsd.port.mk>