add tcl multi-package to postgresql
This commit is contained in:
parent
a59d43a670
commit
90ed63e5cf
@ -1,6 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.59 2002/12/18 05:13:15 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.60 2003/01/02 07:15:34 todd Exp $
|
||||
|
||||
COMMENT= "PostgreSQL RDBMS"
|
||||
COMMENT-tcl= "PostgreSQL RDBMS tcl libraries and utilities"
|
||||
COMMENT-clients="PostgreSQL RDBMS client libraries and utilities"
|
||||
COMMENT-docs= "PostgreSQL RDBMS documentation"
|
||||
|
||||
@ -28,7 +29,7 @@ MASTER_SITES= \
|
||||
ftp://ftp.cz.postgresql.org/pub/ftp.postgresql.org/source/v${VERSION}/ \
|
||||
ftp://ftp.dk.postgresql.org/mirrors/postgresql/source/v${VERSION}/
|
||||
|
||||
MULTI_PACKAGES= -clients -docs
|
||||
MULTI_PACKAGES= -clients -docs -tcl
|
||||
SUBPACKAGE?=
|
||||
|
||||
MAKE_FILE= GNUmakefile
|
||||
@ -65,6 +66,22 @@ DOCS= ${WRKSRC}/COPYRIGHT ${WRKSRC}/HISTORY \
|
||||
${WRKSRC}/register.txt \
|
||||
${WRKSRC}/doc/FAQ ${WRKSRC}/doc/FAQ_DEV ${WRKSRC}/doc/TODO
|
||||
|
||||
# For tcl
|
||||
|
||||
TCL_INCDIR= ${LOCALBASE}/include/tcl8.3
|
||||
TK_INCDIR= ${LOCALBASE}/include/tk8.3
|
||||
CONFIGURE_ENV+= WISH="${LOCALBASE}/bin/wish8.3"
|
||||
CONFIGURE_ARGS+= --with-tcl \
|
||||
--with-tclconfig="${LOCALBASE}/lib/tcl8.3 ${LOCALBASE}/lib/tk8.3" \
|
||||
--with-includes="${LOCALBASE}/include ${TCL_INCDIR} ${TK_INCDIR}"
|
||||
|
||||
.if defined(PACKAGING)
|
||||
. if ${SUBPACKAGE} == "-tcl"
|
||||
RUN_DEPENDS= ::databases/postgresql
|
||||
LIB_DEPENDS+= tk83::x11/tk/8.3
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postgresql
|
||||
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/postgresql
|
||||
|
4
databases/postgresql/pkg/DESCR-tcl
Normal file
4
databases/postgresql/pkg/DESCR-tcl
Normal file
@ -0,0 +1,4 @@
|
||||
PostgreSQL RDBMS tcl applications, libraries and include files
|
||||
for use by tcl/tk.
|
||||
|
||||
Package includes pgtksh/pgtclsh - SQL enabled shells for tk and tcl.
|
3
databases/postgresql/pkg/PFRAG.shared-tcl
Normal file
3
databases/postgresql/pkg/PFRAG.shared-tcl
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared-tcl,v 1.1 2003/01/02 07:15:34 todd Exp $
|
||||
lib/libpgtcl.so.2.2
|
||||
DYNLIBDIR(%B)
|
8
databases/postgresql/pkg/PLIST-tcl
Normal file
8
databases/postgresql/pkg/PLIST-tcl
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST-tcl,v 1.1 2003/01/02 07:15:34 todd Exp $
|
||||
bin/pgtclsh
|
||||
bin/pgtksh
|
||||
include/postgresql/libpgtcl.h
|
||||
lib/libpgtcl.a
|
||||
man/man1/pgtclsh.1
|
||||
man/man1/pgtksh.1
|
||||
%%SHARED%%
|
Loading…
Reference in New Issue
Block a user