openbsd-ports/net/dbip/Makefile.inc
2021-03-01 08:40:52 +00:00

26 lines
426 B
Makefile

# $OpenBSD: Makefile.inc,v 1.14 2021/03/01 08:40:52 fcambus Exp $
V = 2021-03
CATEGORIES = net
HOMEPAGE = https://db-ip.com/db/lite.php
# CC BY 4.0
PERMIT_PACKAGE = Yes
MASTER_SITES = https://download.db-ip.com/free/
EXTRACT_SUFX = .gz
WRKDIST = ${WRKDIR}
NO_BUILD = Yes
NO_TEST = Yes
PREFIX = ${LOCALSTATEDIR}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/db/dbip
${INSTALL_DATA} ${WRKDIST}/*.mmdb ${PREFIX}/db/dbip