Lines 2-12
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= pg_reorg |
4 |
PORTNAME= pg_reorg |
5 |
PORTVERSION= 1.1.10 |
5 |
PORTVERSION= 1.1.11 |
6 |
CATEGORIES= databases |
6 |
CATEGORIES= databases |
7 |
MASTER_SITES= http://pgfoundry.org/frs/download.php/3644/ |
7 |
MASTER_SITES= http://pgfoundry.org/frs/download.php/3821/ |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= portmaster@BSDforge.com |
10 |
COMMENT= PostgreSQL utility to reorganize tables |
10 |
COMMENT= PostgreSQL utility to reorganize tables |
11 |
|
11 |
|
12 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE= BSD3CLAUSE |
Lines 14-19
Link Here
|
14 |
|
14 |
|
15 |
MAKE_ENV= USE_PGXS=0 |
15 |
MAKE_ENV= USE_PGXS=0 |
16 |
USES= gmake pgsql uidfix |
16 |
USES= gmake pgsql uidfix |
|
|
17 |
WANT_PGSQL_VER=91+ |
17 |
WANT_PGSQL=server |
18 |
WANT_PGSQL=server |
18 |
|
19 |
|
19 |
PLIST_FILES= bin/pg_reorg lib/postgresql/pg_reorg.so |
20 |
PLIST_FILES= bin/pg_reorg lib/postgresql/pg_reorg.so |
Lines 22-27
Link Here
|
22 |
|
23 |
|
23 |
OPTIONS_DEFINE= DOCS |
24 |
OPTIONS_DEFINE= DOCS |
24 |
|
25 |
|
|
|
26 |
INSTALL_TARGET=install-strip |
27 |
|
25 |
post-install: |
28 |
post-install: |
26 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
29 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
27 |
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/) |
30 |
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/) |
Lines 28-42
Link Here
|
28 |
|
31 |
|
29 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
30 |
|
33 |
|
31 |
.if ${PGSQL_VER} >= 9.1 |
|
|
32 |
PLIST_FILES+= share/postgresql/extension/pg_reorg--1.1.10.sql \ |
33 |
share/postgresql/extension/pg_reorg.control \ |
34 |
share/postgresql/extension/pg_reorg.sql \ |
35 |
share/postgresql/extension/uninstall_pg_reorg.sql |
36 |
.else |
37 |
PLIST_FILES+= share/postgresql/contrib/pg_reorg--1.1.8.sql \ |
38 |
share/postgresql/contrib/pg_reorg.sql \ |
39 |
share/postgresql/contrib/uninstall_pg_reorg.sql |
40 |
.endif |
41 |
|
42 |
.include <bsd.port.post.mk> |
34 |
.include <bsd.port.post.mk> |