Files
Joshua Root 76e5b347e1 databases/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-11 13:34:57 +11:00

39 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup OpenNMS iplike iplike-2.3.0-2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 2.3.0
categories databases
license GPL-2+
maintainers nomaintainer
description PostgreSQL IP address query interface
long_description C implementation of OpenNMS's plpgsql iplike function, \
preferred as it offers better performance. Allows for \
complex IP address queries on a text field.
depends_lib port:postgresql16
fetch.type git
post-fetch {
system -W ${worksrcpath} "git submodule update --init"
}
use_autoreconf yes
configure.args-append \
--with-pgsql=${prefix}/lib/postgresql16/bin/pg_config
post-activate {
ui_msg "\nNOTE:\n\
This package (${name}-${version})will not work until you run\n\
${prefix}/sbin/install_iplike.sh with the appropriate options.\n\
Run:\n\
${prefix}/sbin/install_iplike.sh -h\n\
for more information.\n"
}