Update editors/lazarus-lcl-units to version 1.8.0
[dports.git] / databases / ip4r / Makefile
1 # Created by: Ade Lovett <ade@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       ip4r
5 PORTVERSION=    2.2
6 CATEGORIES=     databases net
7
8 MAINTAINER=     tobez@FreeBSD.org
9 COMMENT=        IP address and IP range index types for PostgreSQL
10
11 LICENSE=        PostgreSQL
12
13 OPTIONS_DEFINE= IDXPATCH
14
15 IDXPATCH_DESC=  Prefer ip4r indexes over seq_scan on large datasets
16
17 USES=           gmake pgsql
18
19 MAKE_ARGS=      USE_PGXS=1
20
21 .include <bsd.port.options.mk>
22
23 .if ${PORT_OPTIONS:MIDXPATCH}
24 # Patch if the option is supplied, however we need to unpatch if the option is de-selected after previously selecting (TODO)
25 PATCH_SITES=    https://raw.githubusercontent.com/amutu/patch/master/:SORBS
26 PATCHFILES=     ip4r-2.2-SORBS-prefer-index.patch:-p1:SORBS
27 .endif
28
29 USE_GITHUB=     yes
30 GH_ACCOUNT=     RhodiumToad
31
32 .include <bsd.port.mk>