Lines 9-18
Link Here
|
9 |
MAINTAINER= tobez@FreeBSD.org |
9 |
MAINTAINER= tobez@FreeBSD.org |
10 |
COMMENT= IP address and IP range index types for PostgreSQL |
10 |
COMMENT= IP address and IP range index types for PostgreSQL |
11 |
|
11 |
|
|
|
12 |
OPTIONS_DEFINE= IDXPATCH |
13 |
|
14 |
IDXPATCH_DESC= Prefer ip4r indexes over seq_scan on large datasets |
15 |
|
12 |
USES= gmake pgsql |
16 |
USES= gmake pgsql |
13 |
|
17 |
|
14 |
MAKE_ARGS= USE_PGXS=1 |
18 |
MAKE_ARGS= USE_PGXS=1 |
15 |
|
19 |
|
|
|
20 |
.include <bsd.port.options.mk> |
21 |
|
22 |
.if ${PORT_OPTIONS:MIDXPATCH} |
23 |
# Patch if the option is supplied, however we need to unpatch if the option is de-selected after previously selecting (TODO) |
24 |
PATCH_SITES= http://www.sorbs.net/home/:SORBS |
25 |
PATCHFILES= ip4r-2.x-SORBS-prefer-index.patch:-p1:SORBS |
26 |
.endif |
27 |
|
16 |
# In order to make this port PREFIX-safe, we override the install target |
28 |
# In order to make this port PREFIX-safe, we override the install target |
17 |
# and install the three files manually |
29 |
# and install the three files manually |
18 |
do-install: |
30 |
do-install: |