Lines 6-20
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= postgresql |
8 |
PORTNAME= postgresql |
9 |
PORTREVISION= 1 |
9 |
PORTREVISION= 2 |
10 |
CATEGORIES= databases python |
10 |
CATEGORIES= databases python |
11 |
PKGNAMESUFFIX= -plpython |
11 |
PKGNAMESUFFIX= -plpython |
12 |
|
12 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= A module for using Python to write SQL functions |
14 |
COMMENT= A module for using Python to write SQL functions |
15 |
|
15 |
|
16 |
BROKEN= Does not configure without threaded Python |
|
|
17 |
|
18 |
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} |
16 |
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} |
19 |
|
17 |
|
20 |
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server |
18 |
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server |
Lines 28-36
Link Here
|
28 |
|
26 |
|
29 |
# Setting/finding PostgreSQL version we want. |
27 |
# Setting/finding PostgreSQL version we want. |
30 |
.if exists(${LOCALBASE}/bin/postmaster) |
28 |
.if exists(${LOCALBASE}/bin/postmaster) |
31 |
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p' |
29 |
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p' |
32 |
.elif exists(${LOCALBASE}/bin/pg_config) |
30 |
.elif exists(${LOCALBASE}/bin/pg_config) |
33 |
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p' |
31 |
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p' |
34 |
.else |
32 |
.else |
35 |
PGSQL_VER= ${DEFAULT_PGSQL_VER} |
33 |
PGSQL_VER= ${DEFAULT_PGSQL_VER} |
36 |
.endif |
34 |
.endif |