- PKGNAME -> FULLPKGNAME for -docs subpackage, FLAVORs do not apply here

- .else if -> .elif
- remove unnecessary symlinks used on "other" ELF-based systems which were
intentionally removed awhile back
--
Ok'd by: Brandon Palmer <bpalmer@crimelabs.net>
This commit is contained in:
brad 2001-08-07 13:25:50 +00:00
parent 11afd57ac8
commit 17b148fcc3
7 changed files with 17 additions and 45 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.49 2001/07/25 08:16:46 peter Exp $
# $OpenBSD: Makefile,v 1.50 2001/08/07 13:25:50 brad Exp $
COMMENT= "PostgreSQL RDBMS"
COMMENT-clients="PostgreSQL RDBMS client libraries and utilities"
@ -7,7 +7,7 @@ COMMENT-docs= "PostgreSQL RDBMS documentation"
VERSION= 7.1.2
DISTNAME= postgresql-${VERSION}
PKGNAME-clients=postgresql-clients-${VERSION}
PKGNAME-docs= postgresql-docs-${VERSION}
FULLPKGNAME-docs=postgresql-docs-${VERSION}
CATEGORIES= databases
NEED_VERSION= 1.427
@ -120,14 +120,14 @@ post-install:
.if ${FLAVOR:L:Mtcl} && !defined(NO_SHARED_LIBS)
SED_PLIST+=-e '/%%SHARED-tcl%%/r${PKGDIR}/PFRAG.tcl.shared' -e '//d'
.else if ${FLAVOR:L:Mtcl} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:U} == YES
.elif ${FLAVOR:L:Mtcl} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:L} == "yes"
SED_PLIST+=-e '/%%SHARED-tcl%%/d'
.endif
.if ${FLAVOR:L:Modbc} && !defined(NO_SHARED_LIBS)
SED_PLIST+=-e '/%%SHARED-odbc%%/r${PKGDIR}/PFRAG.odbc.shared' -e '//d'
.else if ${FLAVOR:L:Modbc} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:U} == YES
.elif ${FLAVOR:L:Modbc} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:L} == "yes"
SED_PLIST+=-e '/%%SHARED-odbc%%/d'
.endif

View File

@ -1,9 +1,8 @@
@comment $OpenBSD: PFRAG.odbc,v 1.4 2001/07/25 08:16:47 peter Exp $
@comment $OpenBSD: PFRAG.odbc,v 1.5 2001/08/07 13:25:50 brad Exp $
include/postgresql/iodbc/iodbc.h
include/postgresql/iodbc/isql.h
include/postgresql/iodbc/isqlext.h
lib/libpsqlodbc.a
lib/libpsqlodbc.so
lib/libpsqlodbc.so.0
%%SHARED-odbc%%
share/postgresql/odbc.sql
@dirrm include/postgresql/iodbc

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PFRAG.tcl,v 1.7 2001/08/07 13:25:50 brad Exp $
bin/pgaccess
bin/pgtclsh
bin/pgtksh
@ -6,9 +7,7 @@ man/man1/pgaccess.1
man/man1/pgtclsh.1
man/man1/pgtksh.1
lib/libpgtcl.a
lib/libpgtcl.so
lib/libpgtcl.so.2
lib/pltcl.so
%%SHARED-tcl%%
share/postgresql/pgaccess/images/icon_button.gif
share/postgresql/pgaccess/images/icon_checkbutton.gif
share/postgresql/pgaccess/images/icon_entry.gif
@ -142,7 +141,6 @@ share/postgresql/pgaccess/lib/users.tcl
share/postgresql/pgaccess/lib/views.tcl
share/postgresql/pgaccess/lib/visualqb.tcl
share/postgresql/pgaccess/main.tcl
%%SHARED-tcl%%
@dirrm share/postgresql/pgaccess/lib/languages
@dirrm share/postgresql/pgaccess/lib/help
@dirrm share/postgresql/pgaccess/lib

View File

@ -1,6 +1,4 @@
@comment $OpenBSD: PFRAG.tcl.shared,v 1.6 2001/07/25 08:16:47 peter Exp $
lib/libpgtcl.so
lib/libpgtcl.so.2
@comment $OpenBSD: PFRAG.tcl.shared,v 1.7 2001/08/07 13:25:51 brad Exp $
lib/libpgtcl.so.2.1
lib/pltcl.so
DYNLIBDIR(%B)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.18 2001/07/25 08:16:47 peter Exp $
@comment $OpenBSD: PLIST,v 1.19 2001/08/07 13:25:51 brad Exp $
@pkgcfl postgresql-clients-[0-9]*
@pkgcfl pgsql-[0-9]*
@pkgcfl pgsql-clients-[0-9]*
@ -47,17 +47,9 @@ include/postgresql/pqexpbuffer.h
include/postgresql/sql3types.h
include/postgresql/sqlca.h
lib/libecpg.a
lib/libecpg.so
lib/libecpg.so.3
lib/libpgeasy.a
lib/libpgeasy.so
lib/libpgeasy.so.2
lib/libpq++.a
lib/libpq++.so
lib/libpq++.so.3
lib/libpq.a
lib/libpq.so
lib/libpq.so.2
man/man1/createdb.1
man/man1/createlang.1
man/man1/createuser.1
@ -74,9 +66,6 @@ man/man1/pg_dump.1
man/man1/pg_dumpall.1
man/man1/pg_passwd.1
man/man1/pg_restore.1
man/man1/pgaccess.1
man/man1/pgtclsh.1
man/man1/pgtksh.1
man/man1/postgres.1
man/man1/postmaster.1
man/man1/psql.1

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-clients,v 1.4 2001/07/25 08:16:47 peter Exp $
@comment $OpenBSD: PLIST-clients,v 1.5 2001/08/07 13:25:51 brad Exp $
@pkgcfl postgresql-[0-9]*
@pkgcfl pgsql-[0-9]*
@pkgcfl pgsql-clients-[0-9]*
@ -42,18 +42,9 @@ include/postgresql/pqexpbuffer.h
include/postgresql/sql3types.h
include/postgresql/sqlca.h
lib/libecpg.a
lib/libecpg.so
lib/libecpg.so.3
lib/libpgeasy.a
lib/libpgeasy.so
lib/libpgeasy.so.2
lib/libpq++.a
lib/libpq++.so
lib/libpq++.so.3
lib/libpq.a
lib/libpq.so
lib/libpq.so.2
lib/plpgsql.so
man/man1/createdb.1
man/man1/createlang.1
man/man1/createuser.1
@ -67,9 +58,6 @@ man/man1/pg_dump.1
man/man1/pg_dumpall.1
man/man1/pg_passwd.1
man/man1/pg_restore.1
man/man1/pgaccess.1
man/man1/pgtclsh.1
man/man1/pgtksh.1
man/man1/psql.1
man/man1/vacuumdb.1
man/manl/abort.l
@ -155,6 +143,9 @@ share/postgresql/pg_ident.conf.sample
share/postgresql/postgresql.conf.sample
share/postgresql/template1.bki
share/postgresql/template1.description
%%tcl%%
%%odbc%%
%%SHARED%%
@dirrm share/postgresql
@dirrm share/doc/postgresql
@dirrm include/postgresql/libpq++

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-docs,v 1.6 2001/07/25 08:16:47 peter Exp $
@comment $OpenBSD: PLIST-docs,v 1.7 2001/08/07 13:25:51 brad Exp $
share/doc/postgresql/COPYRIGHT
share/doc/postgresql/FAQ
share/doc/postgresql/FAQ_DEV
@ -506,9 +506,6 @@ share/postgresql/pg_ident.conf.sample
share/postgresql/postgresql.conf.sample
share/postgresql/template1.bki
share/postgresql/template1.description
%%tcl%%
%%odbc%%
%%SHARED%%
@dirrm share/postgresql
@dirrm share/doc/postgresql/html
@dirrm share/doc/postgresql