diff options
author | girgen <girgen@FreeBSD.org> | 2005-01-31 00:35:55 +0000 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2005-01-31 00:35:55 +0000 |
commit | ca9d0e2291f677879c1b36a416eb2ad271850cbc (patch) | |
tree | 339f4530a6f0b38252173ddc8ba47c21226501d3 /japanese/postgresql-tcltk/Makefile | |
parent | cbe074a01a678ad3149123153f48962b4b035576 (diff) | |
download | FreeBSD-ports-ca9d0e2291f677879c1b36a416eb2ad271850cbc.zip FreeBSD-ports-ca9d0e2291f677879c1b36a416eb2ad271850cbc.tar.gz |
Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.
PR: 75344
Approved by: portmgr@ (kris), ade & sean (mentors)
Diffstat (limited to 'japanese/postgresql-tcltk/Makefile')
-rw-r--r-- | japanese/postgresql-tcltk/Makefile | 50 |
1 files changed, 8 insertions, 42 deletions
diff --git a/japanese/postgresql-tcltk/Makefile b/japanese/postgresql-tcltk/Makefile index a2f581e82..8ada735 100644 --- a/japanese/postgresql-tcltk/Makefile +++ b/japanese/postgresql-tcltk/Makefile @@ -5,51 +5,17 @@ # $FreeBSD$ # -PORTNAME= postgresql-tcltk -CATEGORIES= japanese databases +PORTNAME= postgresql +PORTREVISION= 0 +CATEGORIES= japanese databases tcl${TCLVERSION:C/[^0-9]//g} +PKGNAMESUFFIX= -tcltk MAINTAINER= saito@a2z.co.jp -COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI - -POSTGRESQL_PORT?= databases/postgresql7 -POSTGRESQL_SUBPORT=YES -.include <${.CURDIR}/../../databases/postgresql7/Makefile> - -LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80 \ - pq:${PORTSDIR}/databases/postgresql7 \ - tcl80jp.1:${PORTSDIR}/japanese/tcl80 \ - tk80jp.1:${PORTSDIR}/japanese/tk80 +COMMENT= A TCL interface to the database PostgreSQL, including a tk GUI TCLVERSION?= 8.0jp -PLIST_SUB+= TCLVERSION=${TCLVERSION} -CONFIGURE_ARGS= --with-tcl \ - --with-tclconfig=${TCLCONFIG} \ - --with-includes=${INCDIRS} - -TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} -TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} -MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} -CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ - CFLAGS=-DPGTCL_USE_TCLOBJ -CONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}" -TK_INCDIR= ${LOCALBASE}/include/tk${TCLVERSION} -TKCONFIG= ${LOCALBASE}/lib/tk${TCLVERSION} -INCDIRS= ${TCL_INCDIR}:${TK_INCDIR} -PLIST_SUB+= TK="" - -pre-build: - cd ${WRKSRC}/src/port; ${GMAKE} - -do-build: - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl -do-install: - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh install - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl install -# Preparing a loadable TCL-package (pkgIndex.tcl) - @${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3 - @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \ - > ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3/pkgIndex.tcl +TCLPORTDIR= ${PORTSDIR}/japanese/tcl +TKPORTDIR= ${PORTSDIR}/japanese/tk -.include <bsd.port.mk> +.include <${.CURDIR}/../../databases/postgresql-tcltk/Makefile> |