mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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)
This commit is contained in:
parent
ae2c26ad44
commit
34fa6c853e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127737
139 changed files with 525 additions and 724 deletions
3
MOVED
3
MOVED
|
@ -1382,3 +1382,6 @@ editors/ghex2|editors/ghex|2005-01-25|moved to non-versioned directory
|
||||||
x11-fm/xfce4-fm-icons||2005-01-26|got obsolete by xfce 4.2 update
|
x11-fm/xfce4-fm-icons||2005-01-26|got obsolete by xfce 4.2 update
|
||||||
misc/xfce4-panel-themes||2005-01-26|got obsolete by xfce 4.2 update
|
misc/xfce4-panel-themes||2005-01-26|got obsolete by xfce 4.2 update
|
||||||
x11-wm/xfce4-menueditor||2005-01-30|got obsolete since it is now included in xfce4-desktop
|
x11-wm/xfce4-menueditor||2005-01-30|got obsolete since it is now included in xfce4-desktop
|
||||||
|
databases/postgresql72|2005-01-30|removed, 7.2 branch is retired
|
||||||
|
databases/postgresql73|2005-01-30|port split into postgresql73-server and -client
|
||||||
|
databases/postgresql7|2005-01-30|port split into postgresql74-server and -client
|
||||||
|
|
|
@ -364,6 +364,21 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
||||||
# WITH_MYSQL_VER
|
# WITH_MYSQL_VER
|
||||||
# - User defined variable to set MySQL version.
|
# - User defined variable to set MySQL version.
|
||||||
##
|
##
|
||||||
|
# USE_PGSQL - Add PostgreSQL client dependency.
|
||||||
|
# If no version is given (by the maintainer via the port or
|
||||||
|
# by the user via defined variable), try to find the
|
||||||
|
# currently installed version. Fall back to default if
|
||||||
|
# necessary (PostgreSQL-7.4 = 74).
|
||||||
|
# DEFAULT_PGSQL_VER
|
||||||
|
# - PostgreSQL default version. Can be overridden within a port.
|
||||||
|
# Default: 74.
|
||||||
|
# WANT_PGSQL_VER
|
||||||
|
# - Maintainer can set an arbitrary version of PostgreSQL by
|
||||||
|
# using it.
|
||||||
|
# BROKEN_WITH_PGSQL
|
||||||
|
# - This variable can be defined if the ports doesn't support
|
||||||
|
# one or more versions of PostgreSQL.
|
||||||
|
##
|
||||||
# USE_RC_SUBR - If set, the ports startup/shutdown script uses the common
|
# USE_RC_SUBR - If set, the ports startup/shutdown script uses the common
|
||||||
# routines found in etc/rc.subr and may need to
|
# routines found in etc/rc.subr and may need to
|
||||||
# depend on the sysutils/rc_subr port.
|
# depend on the sysutils/rc_subr port.
|
||||||
|
@ -1689,6 +1704,44 @@ BROKEN= "unknown MySQL version: ${MYSQL_VER}"
|
||||||
.endif # Check for correct libs
|
.endif # Check for correct libs
|
||||||
.endif # USE_MYSQL
|
.endif # USE_MYSQL
|
||||||
|
|
||||||
|
.if defined(USE_PGSQL)
|
||||||
|
DEFAULT_PGSQL_VER?= 74
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if defined(WANT_PGSQL_VER)
|
||||||
|
PGSQL_VER= ${WANT_PGSQL_VER}
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif # WANT_PGSQL_VER
|
||||||
|
|
||||||
|
# And now we are checking if we can use it
|
||||||
|
.if exists(${PORTSDIR}/databases/postgresql${PGSQL_VER}-client)
|
||||||
|
.if defined(BROKEN_WITH_PGSQL)
|
||||||
|
. for VER in ${BROKEN_WITH_PGSQL}
|
||||||
|
. if (${PGSQL_VER} == "${VER}")
|
||||||
|
BROKEN= "Doesn't work with PostgreSQL version : ${PGSQL_VER} (Doesn't support PostgresSQL ${BROKEN_WITH_PGSQL})"
|
||||||
|
. endif
|
||||||
|
. endfor
|
||||||
|
.endif # BROKEN_WITH_PGSQL
|
||||||
|
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
|
||||||
|
.else
|
||||||
|
BROKEN= "unknown PostgreSQL version: ${PGSQL_VER}"
|
||||||
|
.endif # Check for correct version
|
||||||
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
|
.endif # USE_PGSQL
|
||||||
|
|
||||||
|
.if defined(USE_XLIB)
|
||||||
|
LIB_DEPENDS+= X11.6:${X_LIBRARIES_PORT}
|
||||||
|
# Add explicit X options to avoid problems with false positives in configure
|
||||||
|
.if defined(GNU_CONFIGURE)
|
||||||
|
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
||||||
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
# XXX: (not yet): .if defined(USE_AUTOTOOLS)
|
# XXX: (not yet): .if defined(USE_AUTOTOOLS)
|
||||||
.include "${PORTSDIR}/Mk/bsd.autotools.mk"
|
.include "${PORTSDIR}/Mk/bsd.autotools.mk"
|
||||||
# XXX: (not yet): .endif
|
# XXX: (not yet): .endif
|
||||||
|
|
19
UPDATING
19
UPDATING
|
@ -6,6 +6,25 @@ You should get into the habit of checking this file for changes each
|
||||||
time you update your ports collection, before attempting any port
|
time you update your ports collection, before attempting any port
|
||||||
upgrades.
|
upgrades.
|
||||||
|
|
||||||
|
20050130:
|
||||||
|
AFFECTS: users of PostgreSQL
|
||||||
|
AUTHOR: girgen@FreeBSD.org
|
||||||
|
|
||||||
|
Each of the PostgreSQL ports have been split into a server and a
|
||||||
|
client part. Please use postgresqlNN-server and/or
|
||||||
|
postgresqlNN-client as needed. Versions currently supported are 7.3,
|
||||||
|
7.4 and 8.0.
|
||||||
|
|
||||||
|
To start the PostgreSQL server at boot time, add the following to
|
||||||
|
/etc/rc.conf:
|
||||||
|
|
||||||
|
postgresql_enable=yes
|
||||||
|
|
||||||
|
The maintainance script is installed in etc/periodic/daily, and is
|
||||||
|
controlled by a set of new knobs in periodic.conf. Use it for
|
||||||
|
vacuuming your databases and get daily backups. Note that daily
|
||||||
|
vacuuming is on by default. See the script for details.
|
||||||
|
|
||||||
20050130:
|
20050130:
|
||||||
AFFECTS: users of net/howl
|
AFFECTS: users of net/howl
|
||||||
AUTHOR: marcus@FreeBSD.org
|
AUTHOR: marcus@FreeBSD.org
|
||||||
|
|
|
@ -69,8 +69,8 @@ WITH_MYSQL= yes
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= MSM='@comment '
|
PLIST_SUB+= MSM='@comment '
|
||||||
.endif
|
.endif
|
||||||
.if exists(${LOCALBASE}/lib/libpq.so)
|
.if exists(${LOCALBASE}/bin/psql)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
PLIST_SUB+= PGM=''
|
PLIST_SUB+= PGM=''
|
||||||
WITH_PGSQL= yes
|
WITH_PGSQL= yes
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -263,9 +263,12 @@
|
||||||
SUBDIR += postgresql-pltcl
|
SUBDIR += postgresql-pltcl
|
||||||
SUBDIR += postgresql-relay
|
SUBDIR += postgresql-relay
|
||||||
SUBDIR += postgresql-tcltk
|
SUBDIR += postgresql-tcltk
|
||||||
SUBDIR += postgresql7
|
SUBDIR += postgresql73-client
|
||||||
SUBDIR += postgresql72
|
SUBDIR += postgresql73-server
|
||||||
SUBDIR += postgresql73
|
SUBDIR += postgresql74-client
|
||||||
|
SUBDIR += postgresql74-server
|
||||||
|
SUBDIR += postgresql80-client
|
||||||
|
SUBDIR += postgresql80-server
|
||||||
SUBDIR += postgresql_autodoc
|
SUBDIR += postgresql_autodoc
|
||||||
SUBDIR += puredb
|
SUBDIR += puredb
|
||||||
SUBDIR += pxtools
|
SUBDIR += pxtools
|
||||||
|
|
|
@ -60,7 +60,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL) || exists(${LOCALBASE}/include/libpq-fe.h)
|
.if defined(WITH_PGSQL) || exists(${LOCALBASE}/include/libpq-fe.h)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${PGSQL_PORT}
|
USE_PGSQL= yes
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= PGSQL="@comment "
|
PLIST_SUB+= PGSQL="@comment "
|
||||||
|
@ -89,7 +89,6 @@ MAKE_ENV= HOME=${WRKDIR} LANG=C
|
||||||
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
|
|
||||||
PGSQL_PORT?= databases/postgresql7
|
|
||||||
FIREBIRD_PORT?= databases/firebird
|
FIREBIRD_PORT?= databases/firebird
|
||||||
|
|
||||||
BIN2STRIP= bdbf clip clip_bl clip_blank clip_cld clip_conv clip_dbf2txt \
|
BIN2STRIP= bdbf clip clip_bl clip_blank clip_cld clip_conv clip_dbf2txt \
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --enable-pgsql=yes \
|
CONFIGURE_ARGS+= --enable-pgsql=yes \
|
||||||
--with-pgsql_include=${LOCALBASE}/include \
|
--with-pgsql_include=${LOCALBASE}/include \
|
||||||
--with-pgsql_lib=${LOCALBASE}/lib
|
--with-pgsql_lib=${LOCALBASE}/lib
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= erserver
|
PORTNAME= erserver
|
||||||
PORTVERSION= 1.2
|
PORTVERSION= 1.2
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= ftp://gborg.postgresql.org/pub/erserver/stable/
|
MASTER_SITES= ftp://gborg.postgresql.org/pub/erserver/stable/
|
||||||
DISTNAME= ${PORTNAME}_v${PORTVERSION}
|
DISTNAME= ${PORTNAME}_v${PORTVERSION}
|
||||||
|
@ -16,10 +16,11 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= kuriyama@FreeBSD.org
|
MAINTAINER= kuriyama@FreeBSD.org
|
||||||
COMMENT= Trigger-based asynchronous replication system for PostgreSQL
|
COMMENT= Trigger-based asynchronous replication system for PostgreSQL
|
||||||
|
|
||||||
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
|
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
|
||||||
${PGINC}/executor/spi.h:${PORTSDIR}/databases/postgresql7
|
${PGINC}/executor/spi.h:${PGSQL_PORT}
|
||||||
RUN_DEPENDS= ${JAVAJARDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
|
RUN_DEPENDS= ${JAVAJARDIR}/log4j.jar:${PORTSDIR}/devel/log4j \
|
||||||
psql:${PORTSDIR}/databases/postgresql7
|
postgres:${PGSQL_PORT}
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -33,9 +34,22 @@ MAKE_ARGS= sqldir=${DATADIR} templdir=${DATADIR} docdir=${DOCSDIR} \
|
||||||
libdir=${PREFIX}/lib/postgresql javadir=${JAVAJARDIR} \
|
libdir=${PREFIX}/lib/postgresql javadir=${JAVAJARDIR} \
|
||||||
siteperldir=${SITE_PERL}
|
siteperldir=${SITE_PERL}
|
||||||
|
|
||||||
PGINC= ${PREFIX}/include/postgresql/server
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
PGINC= ${LOCALBASE}/include/postgresql/server
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -32,9 +32,8 @@ FILES_TKI18N= tcltkgrass-i18n${EXTRACT_SUFX}
|
||||||
FILES_FONTS= grass${PORTVERSION}_i686-pc-linux-i18n-ipafull-gnu_bin${EXTRACT_SUFX}
|
FILES_FONTS= grass${PORTVERSION}_i686-pc-linux-i18n-ipafull-gnu_bin${EXTRACT_SUFX}
|
||||||
|
|
||||||
.if defined(WITH_POSTGRES)
|
.if defined(WITH_POSTGRES)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} \
|
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
|
||||||
odbc.1:${PORTSDIR}/databases/unixODBC
|
|
||||||
CONFIGURE_ARGS+=--with-postgres \
|
CONFIGURE_ARGS+=--with-postgres \
|
||||||
--with-postgres-includes=${LOCALBASE}/include/postgresql/internal/ \
|
--with-postgres-includes=${LOCALBASE}/include/postgresql/internal/ \
|
||||||
--with-odbc
|
--with-odbc
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= grass
|
PORTNAME= grass
|
||||||
PORTVERSION= 5.0.2
|
PORTVERSION= 5.0.2
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://grass.itc.it/grass50/source/ \
|
MASTER_SITES= http://grass.itc.it/grass50/source/ \
|
||||||
|
@ -19,7 +19,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}_src
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= An open source Geographical Information System (GIS)
|
COMMENT= An open source Geographical Information System (GIS)
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
png.5:${PORTSDIR}/graphics/png \
|
png.5:${PORTSDIR}/graphics/png \
|
||||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||||
|
@ -27,7 +26,6 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
fftw.2:${PORTSDIR}/math/fftw \
|
fftw.2:${PORTSDIR}/math/fftw \
|
||||||
freetype.9:${PORTSDIR}/print/freetype2 \
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
||||||
gdbm.3:${PORTSDIR}/databases/gdbm \
|
gdbm.3:${PORTSDIR}/databases/gdbm \
|
||||||
pq.3:${PORTSDIR}/${POSTGRESQL_PORT} \
|
|
||||||
odbc.1:${PORTSDIR}/databases/unixODBC \
|
odbc.1:${PORTSDIR}/databases/unixODBC \
|
||||||
lapack.3:${PORTSDIR}/math/lapack
|
lapack.3:${PORTSDIR}/math/lapack
|
||||||
BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83 \
|
BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83 \
|
||||||
|
@ -39,6 +37,7 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude *CVS*
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_ICONV= yes
|
USE_ICONV= yes
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
USE_GL= yes
|
USE_GL= yes
|
||||||
|
|
|
@ -21,7 +21,6 @@ WITH_MYSQL= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -33,7 +32,7 @@ LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||||
.if defined(WITH_PGSQL) || (exists(${LOCALBASE}/lib/libpq.a) \
|
.if defined(WITH_PGSQL) || (exists(${LOCALBASE}/lib/libpq.a) \
|
||||||
&& !defined(WITHOUT_PGSQL))
|
&& !defined(WITHOUT_PGSQL))
|
||||||
HAVE_PGSQL= yes
|
HAVE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
|
|
|
@ -53,8 +53,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-postgres-incdir=${LOCALBASE}/include/ \
|
CONFIGURE_ARGS+= --with-postgres-incdir=${LOCALBASE}/include/ \
|
||||||
--with-postgres-libdir=${LOCALBASE}/lib
|
--with-postgres-libdir=${LOCALBASE}/lib
|
||||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= hsql
|
PORTNAME= hsql
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 1.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases haskell
|
CATEGORIES= databases haskell
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= htoolkit
|
MASTER_SITE_SUBDIR= htoolkit
|
||||||
|
@ -16,10 +17,10 @@ DISTNAME= HSQL-${PORTVERSION}
|
||||||
MAINTAINER= haskell@FreeBSD.org
|
MAINTAINER= haskell@FreeBSD.org
|
||||||
COMMENT= Haskell access to SQL
|
COMMENT= Haskell access to SQL
|
||||||
|
|
||||||
BUILD_DEPENDS= psql:${PORTSDIR}/databases/postgresql7 \
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
||||||
ghc:${PORTSDIR}/lang/ghc
|
RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
||||||
RUN_DEPENDS= psql:${PORTSDIR}/databases/postgresql7 \
|
|
||||||
ghc:${PORTSDIR}/lang/ghc
|
USE_PGSQL= yes
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
||||||
|
|
|
@ -45,7 +45,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -48,11 +48,7 @@ WITH_MYSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libpq.so.3)
|
.if exists(${LOCALBASE}/lib/libpq.so.3)
|
||||||
WITH_POSTGRES7= yes
|
WITH_PGSQL= yes
|
||||||
.endif
|
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libpgeasy.so.2)
|
|
||||||
WITH_POSTGRES72=yes
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libldap.so.2)
|
.if exists(${LOCALBASE}/lib/libldap.so.2)
|
||||||
|
@ -92,21 +88,11 @@ CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
||||||
PLIST_SUB+= MYSQL:=""
|
PLIST_SUB+= MYSQL:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITHOUT_POSTGRES7) && defined(WITH_POSTGRES7)
|
.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
||||||
PLIST_SUB+= POSTGRES:=""
|
PLIST_SUB+= POSTGRES:=""
|
||||||
.endif
|
.else
|
||||||
|
|
||||||
.if !defined(WITHOUT_POSTGRES72) && defined(WITH_POSTGRES72)
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql72
|
|
||||||
LIB_DEPENDS+= pgeasy.2:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
|
||||||
PLIST_SUB+= POSTGRES:=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_POSTGRES7) && !defined(WITH_POSTGRES72)
|
|
||||||
PLIST_SUB+= POSTGRES:="@comment "
|
PLIST_SUB+= POSTGRES:="@comment "
|
||||||
CONFIGURE_ARGS+= --without-postgres
|
CONFIGURE_ARGS+= --without-postgres
|
||||||
.endif
|
.endif
|
||||||
|
@ -178,11 +164,8 @@ pre-everything::
|
||||||
.if !defined(WITH_MYSQL)
|
.if !defined(WITH_MYSQL)
|
||||||
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITH_POSTGRES7)
|
.if !defined(WITH_PGSQL)
|
||||||
@${ECHO_MSG} "You can enable support for Postgres 7.0 databases by defining WITH_POSTGRES7."
|
@${ECHO_MSG} "You can enable support for PostgreSQL databases by defining WITH_PGSQL."
|
||||||
.endif
|
|
||||||
.if !defined(WITH_POSTGRES72)
|
|
||||||
@${ECHO_MSG} "You can enable support for Postgres 7.2 databases by defining WITH_POSTGRES72."
|
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITH_LDAP)
|
.if !defined(WITH_LDAP)
|
||||||
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
|
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
|
||||||
|
|
|
@ -48,11 +48,7 @@ WITH_MYSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libpq.so.3)
|
.if exists(${LOCALBASE}/lib/libpq.so.3)
|
||||||
WITH_POSTGRES7= yes
|
WITH_PGSQL= yes
|
||||||
.endif
|
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libpgeasy.so.2)
|
|
||||||
WITH_POSTGRES72=yes
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libldap.so.2)
|
.if exists(${LOCALBASE}/lib/libldap.so.2)
|
||||||
|
@ -92,21 +88,11 @@ CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
||||||
PLIST_SUB+= MYSQL:=""
|
PLIST_SUB+= MYSQL:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITHOUT_POSTGRES7) && defined(WITH_POSTGRES7)
|
.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
||||||
PLIST_SUB+= POSTGRES:=""
|
PLIST_SUB+= POSTGRES:=""
|
||||||
.endif
|
.else
|
||||||
|
|
||||||
.if !defined(WITHOUT_POSTGRES72) && defined(WITH_POSTGRES72)
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql72
|
|
||||||
LIB_DEPENDS+= pgeasy.2:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
|
|
||||||
PLIST_SUB+= POSTGRES:=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_POSTGRES7) && !defined(WITH_POSTGRES72)
|
|
||||||
PLIST_SUB+= POSTGRES:="@comment "
|
PLIST_SUB+= POSTGRES:="@comment "
|
||||||
CONFIGURE_ARGS+= --without-postgres
|
CONFIGURE_ARGS+= --without-postgres
|
||||||
.endif
|
.endif
|
||||||
|
@ -178,11 +164,8 @@ pre-everything::
|
||||||
.if !defined(WITH_MYSQL)
|
.if !defined(WITH_MYSQL)
|
||||||
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITH_POSTGRES7)
|
.if !defined(WITH_PGSQL)
|
||||||
@${ECHO_MSG} "You can enable support for Postgres 7.0 databases by defining WITH_POSTGRES7."
|
@${ECHO_MSG} "You can enable support for PostgreSQL databases by defining WITH_PGSQL."
|
||||||
.endif
|
|
||||||
.if !defined(WITH_POSTGRES72)
|
|
||||||
@${ECHO_MSG} "You can enable support for Postgres 7.2 databases by defining WITH_POSTGRES72."
|
|
||||||
.endif
|
.endif
|
||||||
.if !defined(WITH_LDAP)
|
.if !defined(WITH_LDAP)
|
||||||
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
|
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
|
||||||
|
|
|
@ -16,9 +16,7 @@ PKGNAMEPREFIX= p5-
|
||||||
MAINTAINER= perl@FreeBSD.org
|
MAINTAINER= perl@FreeBSD.org
|
||||||
COMMENT= Provides access to PostgreSQL databases through the DBI
|
COMMENT= Provides access to PostgreSQL databases through the DBI
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
@ -37,17 +35,8 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_OLD_LAYOUT)
|
|
||||||
CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \
|
|
||||||
POSTGRES_LIB=${LOCALBASE}/lib
|
|
||||||
.else
|
|
||||||
.if exists(${LOCALBASE}/pgsql/bin/pg_config)
|
|
||||||
PG_CONFIG= ${LOCALBASE}/pgsql/bin/pg_config
|
|
||||||
.else
|
|
||||||
PG_CONFIG= ${LOCALBASE}/bin/pg_config
|
PG_CONFIG= ${LOCALBASE}/bin/pg_config
|
||||||
.endif
|
|
||||||
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
|
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
|
||||||
POSTGRES_LIB=`${PG_CONFIG} --libdir`
|
POSTGRES_LIB=`${PG_CONFIG} --libdir`
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -16,9 +16,7 @@ PKGNAMEPREFIX= p5-
|
||||||
MAINTAINER= perl@FreeBSD.org
|
MAINTAINER= perl@FreeBSD.org
|
||||||
COMMENT= Provides access to PostgreSQL databases through the DBI
|
COMMENT= Provides access to PostgreSQL databases through the DBI
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
@ -37,17 +35,8 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_OLD_LAYOUT)
|
|
||||||
CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \
|
|
||||||
POSTGRES_LIB=${LOCALBASE}/lib
|
|
||||||
.else
|
|
||||||
.if exists(${LOCALBASE}/pgsql/bin/pg_config)
|
|
||||||
PG_CONFIG= ${LOCALBASE}/pgsql/bin/pg_config
|
|
||||||
.else
|
|
||||||
PG_CONFIG= ${LOCALBASE}/bin/pg_config
|
PG_CONFIG= ${LOCALBASE}/bin/pg_config
|
||||||
.endif
|
|
||||||
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
|
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
|
||||||
POSTGRES_LIB=`${PG_CONFIG} --libdir`
|
POSTGRES_LIB=`${PG_CONFIG} --libdir`
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= DBD-PgSPI
|
PORTNAME= DBD-PgSPI
|
||||||
PORTVERSION= 0.02
|
PORTVERSION= 0.02
|
||||||
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases perl5
|
CATEGORIES= databases perl5
|
||||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
MASTER_SITE_SUBDIR= DBD
|
MASTER_SITE_SUBDIR= DBD
|
||||||
|
@ -19,26 +20,29 @@ BUILD_DEPENDS= ${RUN_DEPENDS} \
|
||||||
${NONEXISTENT}:${PORTSDIR}/${POSTGRESQL_PORT}:configure
|
${NONEXISTENT}:${PORTSDIR}/${POSTGRESQL_PORT}:configure
|
||||||
RUN_DEPENDS= ${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl \
|
RUN_DEPENDS= ${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl \
|
||||||
${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
|
${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
MAN3= DBD::PgSPI.3
|
MAN3= DBD::PgSPI.3
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${PERL} -i -pe '$$_ = "" if /ppport.h/' \
|
|
||||||
${WRKSRC}/PgSPI.h
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
PORTDOCS= Changes README
|
PORTDOCS= Changes README
|
||||||
|
|
||||||
post-install:
|
POSTGRESQL_PORT?= databases/postgresql${PGSQL_VER}-server
|
||||||
@${MKDIR} ${DOCSDIR}
|
PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT}
|
||||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${PERL_LEVEL} < 500600
|
.if ${PERL_LEVEL} < 500600
|
||||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
||||||
|
@ -46,14 +50,20 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
|
||||||
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
CONFIGURE_ENV= POSTGRES_HOME="`${PGSQL_WRKSRC_CMD}`/src" \
|
||||||
PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PGSQL_WRKSRC!= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
|
|
||||||
|
|
||||||
CONFIGURE_ENV= POSTGRES_HOME="${PGSQL_WRKSRC}/src" \
|
|
||||||
LOCALBASE="${LOCALBASE}"
|
LOCALBASE="${LOCALBASE}"
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${PERL} -i -pe '$$_ = "" if /ppport.h/' \
|
||||||
|
${WRKSRC}/PgSPI.h
|
||||||
|
|
||||||
post-clean:
|
post-clean:
|
||||||
@cd ${PGSQL_PORTDIR} && ${MAKE} clean
|
@cd ${PGSQL_PORTDIR} && ${MAKE} clean
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${MKDIR} ${DOCSDIR}
|
||||||
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||||
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= Pg
|
PORTNAME= Pg
|
||||||
PORTVERSION= 2.1.1
|
PORTVERSION= 2.1.1
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= databases perl5
|
CATEGORIES= databases perl5
|
||||||
MASTER_SITES= ftp://gborg.postgresql.org/pub/pgperl/stable/
|
MASTER_SITES= ftp://gborg.postgresql.org/pub/pgperl/stable/
|
||||||
|
@ -16,9 +17,7 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= An interface for using perl5 to access PostgreSQL databases
|
COMMENT= An interface for using perl5 to access PostgreSQL databases
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
|
|
||||||
MAN3= Pg.3
|
MAN3= Pg.3
|
||||||
|
|
|
@ -5,27 +5,37 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTREVISION= 1
|
PORTNAME= postgresql
|
||||||
CATEGORIES= databases perl5
|
CATEGORIES= databases perl5
|
||||||
PKGNAMEPREFIX= p5-
|
|
||||||
PKGNAMESUFFIX= -plperl
|
PKGNAMESUFFIX= -plperl
|
||||||
|
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= A module for using Perl5 to write SQL functions
|
COMMENT= Write SQL functions for PostgreSQL using Perl5
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
POSTGRESQL_SUBPORT=YES
|
|
||||||
.include "../../${POSTGRESQL_PORT}/Makefile"
|
|
||||||
|
|
||||||
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
RUN_DEPENDS= postgres:${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
|
|
||||||
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
# can't include <bsd.port.pre.mk> in a slave port
|
||||||
|
# so set these instead:
|
||||||
|
LOCALBASE?= ${DESTDIR}/usr/local
|
||||||
|
SED?= /usr/bin/sed
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
USE_PERL5= yes
|
USE_PERL5= yes
|
||||||
CONFIGURE_ARGS= --with-perl
|
CONFIGURE_ARGS= --with-perl
|
||||||
|
|
||||||
MAKE_ARGS+= -C src/pl/plperl
|
BUILD_DIRS= src/pl/plperl
|
||||||
MAKEFILE= GNUmakefile
|
SLAVE_ONLY= yes
|
||||||
|
|
||||||
post-install:
|
.include "${MASTERDIR}/Makefile"
|
||||||
@ ${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
--- src/makefiles/Makefile.freebsd.orig Wed Aug 29 21:14:40 2001
|
|
||||||
+++ src/makefiles/Makefile.freebsd Mon Sep 1 10:16:26 2003
|
|
||||||
@@ -23,3 +23,5 @@
|
|
||||||
endif
|
|
||||||
|
|
||||||
sqlmansect = 7
|
|
||||||
+
|
|
||||||
+allow_nonpic_in_shlib = yes
|
|
|
@ -1,3 +0,0 @@
|
||||||
PL/Perl has been installed. Check the createlang(l) manpage for more
|
|
||||||
info. You can install PL/Perl as trusted or untrusted, by using either
|
|
||||||
"createlang plperl" or "createlang plperlu".
|
|
|
@ -1,2 +0,0 @@
|
||||||
lib/postgresql/plperl.so
|
|
||||||
@unexec rmdir %D/lib/postgresql 2>/dev/null || true
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= pgadmin3
|
PORTNAME= pgadmin3
|
||||||
PORTVERSION= 1.2.0
|
PORTVERSION= 1.2.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
||||||
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
||||||
|
@ -14,16 +15,13 @@ MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
||||||
MAINTAINER= fjoe@FreeBSD.org
|
MAINTAINER= fjoe@FreeBSD.org
|
||||||
COMMENT= PostgreSQL database design and management system
|
COMMENT= PostgreSQL database design and management system
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-wx=${X11BASE}
|
CONFIGURE_ARGS= --with-wx=${X11BASE}
|
||||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
|
@${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
|
||||||
${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
|
${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= pgadmin3
|
PORTNAME= pgadmin3
|
||||||
PORTVERSION= 1.2.0
|
PORTVERSION= 1.2.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
||||||
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
||||||
|
@ -14,16 +15,13 @@ MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
||||||
MAINTAINER= fjoe@FreeBSD.org
|
MAINTAINER= fjoe@FreeBSD.org
|
||||||
COMMENT= PostgreSQL database design and management system
|
COMMENT= PostgreSQL database design and management system
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-wx=${X11BASE}
|
CONFIGURE_ARGS= --with-wx=${X11BASE}
|
||||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
|
@${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
|
||||||
${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
|
${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= pgbash
|
PORTNAME= pgbash
|
||||||
PORTVERSION= 7.3
|
PORTVERSION= 7.3
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.psn.co.jp/PostgreSQL/pgbash/:pgsource \
|
MASTER_SITES= http://www.psn.co.jp/PostgreSQL/pgbash/:pgsource \
|
||||||
${MASTER_SITE_GNU:S/$/:bashsrc/}
|
${MASTER_SITE_GNU:S/$/:bashsrc/}
|
||||||
|
@ -19,7 +19,7 @@ EXTRACT_ONLY= pgbash-7.3.tar.gz
|
||||||
MAINTAINER= sascha@root-login.org
|
MAINTAINER= sascha@root-login.org
|
||||||
COMMENT= SQL Bash Shell for PostgreSQL
|
COMMENT= SQL Bash Shell for PostgreSQL
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/pgbash-7.3/src/bash-2.05a
|
WRKSRC= ${WRKDIR}/pgbash-7.3/src/bash-2.05a
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,9 @@ PGSQL_SRC= ${WRKDIR}/pgsql/postgresql
|
||||||
INSTALL_TARGET= install
|
INSTALL_TARGET= install
|
||||||
INSTALLS_SHLIB= no
|
INSTALLS_SHLIB= no
|
||||||
|
|
||||||
OPTIONS= PGSQL8 "Use PostgreSQL 8 instead of PostgreSQL 7.4" off \
|
OPTIONS= GEOS "Include GEOS - the OpenGIS 'Simple Features for SQL'" off \
|
||||||
GEOS "Include GEOS - the OpenGIS 'Simple Features for SQL'" off \
|
|
||||||
|
USE_PGSQL= YES
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -37,13 +38,7 @@ MAKE_ARGS= PGSQL_SRC="${PGSQL_SRC}" \
|
||||||
BINDIR="${PREFIX}/bin" \
|
BINDIR="${PREFIX}/bin" \
|
||||||
LIBDIR="${PREFIX}/lib"
|
LIBDIR="${PREFIX}/lib"
|
||||||
|
|
||||||
.if defined(WITH_PGSQL8)
|
PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
|
||||||
PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql-devel
|
|
||||||
.else
|
|
||||||
PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql7
|
|
||||||
.endif
|
|
||||||
|
|
||||||
LIB_DEPENDS+= pq.3:${PGSQL_PORTDIR}
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
|
BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
|
||||||
|
|
|
@ -5,40 +5,44 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
PORTNAME= postgresql
|
||||||
|
PKGNAMESUFFIX= -contrib
|
||||||
PORTREVISION= 0
|
PORTREVISION= 0
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
PKGNAMESUFFIX= -contrib
|
|
||||||
|
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= The contrib utilities from the PostgreSQL distribution
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
||||||
|
|
||||||
LIB_DEPENDS= pq:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
DEFAULT_PGSQL_VER?=74
|
||||||
POSTGRESQL_SUBPORT=YES
|
|
||||||
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
|
# can't include <bsd.port.pre.mk> in a slave port
|
||||||
|
# so set these instead:
|
||||||
|
LOCALBASE?= ${DESTDIR}/usr/local
|
||||||
|
SED?= /usr/bin/sed
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
USE_BISON= yes
|
USE_BISON= yes
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-libraries=${LOCALBASE}/lib \
|
BUILD_DIRS= src/port contrib
|
||||||
--with-includes=${LOCALBASE}/include \
|
INSTALL_DIRS= contrib
|
||||||
--docdir=${DOCSDIR}
|
|
||||||
MAKE_ARGS= -C contrib
|
|
||||||
|
|
||||||
pre-build:
|
SLAVE_ONLY= yes
|
||||||
cd ${WRKSRC}/src/backend ;\
|
PKGMESSAGE= ${.CURDIR}/pkg-message
|
||||||
${GMAKE} ../../src/include/parser/parse.h ../../src/include/utils/fmgroids.h
|
|
||||||
cd ${WRKSRC}/src/port; ${GMAKE}
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ipc_check/ipc_check.pl ${PREFIX}/bin/ipc_check ;\
|
@- ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ipc_check/ipc_check.pl ${PREFIX}/bin/ipc_check ;\
|
||||||
${INSTALL_DATA} ${WRKSRC}/contrib/ipc_check/README ${DOCSDIR}/contrib/README.ipc_check ;\
|
${INSTALL_DATA} ${WRKSRC}/contrib/ipc_check/README ${DOCSDIR}/contrib/README.ipc_check ;\
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/contrib/reindexdb/reindexdb ${PREFIX}/bin/reindexdb ;\
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/reindexdb/reindexdb ${PREFIX}/bin/reindexdb ;\
|
||||||
${INSTALL_DATA} ${WRKSRC}/contrib/reindexdb/README ${DOCSDIR}/contrib/README.reindexdb
|
${INSTALL_DATA} ${WRKSRC}/contrib/reindexdb/README ${DOCSDIR}/contrib/README.reindexdb
|
||||||
@ ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/README
|
||||||
@ ${ECHO} ==================================== ;\
|
|
||||||
${SED} -e "s,/usr/local,${PREFIX},g" ${PKGDIR}/pkg-message ;\
|
|
||||||
${ECHO} ====================================
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
The PostgreSQL contrib utilities have been installed. Please see
|
|
||||||
/usr/local/share/doc/postgresql/contrib/README
|
|
||||||
for more information.
|
|
|
@ -1,144 +0,0 @@
|
||||||
bin/ApplySnapshot
|
|
||||||
bin/CleanLog
|
|
||||||
bin/GetSyncID
|
|
||||||
bin/InitRservTest
|
|
||||||
bin/MasterAddTable
|
|
||||||
bin/MasterInit
|
|
||||||
bin/MasterSync
|
|
||||||
bin/PrepareSnapshot
|
|
||||||
bin/Replicate
|
|
||||||
bin/RservTest
|
|
||||||
bin/SlaveAddTable
|
|
||||||
bin/SlaveInit
|
|
||||||
bin/dbf2pg
|
|
||||||
bin/findoidjoins
|
|
||||||
bin/fti.pl
|
|
||||||
bin/ipc_check
|
|
||||||
bin/make_oidjoins_check
|
|
||||||
bin/oid2name
|
|
||||||
bin/pg_autovacuum
|
|
||||||
bin/pg_dumplo
|
|
||||||
bin/pg_logger
|
|
||||||
bin/pgbench
|
|
||||||
bin/reindexdb
|
|
||||||
bin/vacuumlo
|
|
||||||
lib/postgresql/_int.so
|
|
||||||
lib/postgresql/autoinc.so
|
|
||||||
lib/postgresql/btree_gist.so
|
|
||||||
lib/postgresql/chkpass.so
|
|
||||||
lib/postgresql/cube.so
|
|
||||||
lib/postgresql/dblink.so
|
|
||||||
lib/postgresql/dbsize.so
|
|
||||||
lib/postgresql/earthdistance.so
|
|
||||||
lib/postgresql/fti.so
|
|
||||||
lib/postgresql/fuzzystrmatch.so
|
|
||||||
lib/postgresql/insert_username.so
|
|
||||||
lib/postgresql/int_aggregate.so
|
|
||||||
lib/postgresql/isbn_issn.so
|
|
||||||
lib/postgresql/lo.so
|
|
||||||
lib/postgresql/ltree.so
|
|
||||||
lib/postgresql/misc_utils.so
|
|
||||||
lib/postgresql/moddatetime.so
|
|
||||||
lib/postgresql/noup.so
|
|
||||||
lib/postgresql/pending.so
|
|
||||||
lib/postgresql/pgcrypto.so
|
|
||||||
lib/postgresql/pgstattuple.so
|
|
||||||
lib/postgresql/refint.so
|
|
||||||
lib/postgresql/rserv.so
|
|
||||||
lib/postgresql/rtree_gist.so
|
|
||||||
lib/postgresql/seg.so
|
|
||||||
lib/postgresql/string_io.so
|
|
||||||
lib/postgresql/tablefunc.so
|
|
||||||
lib/postgresql/timetravel.so
|
|
||||||
lib/postgresql/tsearch.so
|
|
||||||
lib/postgresql/tsearch2.so
|
|
||||||
lib/postgresql/user_locks.so
|
|
||||||
%%DOCSDIR%%/contrib/README
|
|
||||||
%%DOCSDIR%%/contrib/README.apachelog
|
|
||||||
%%DOCSDIR%%/contrib/README.btree_gist
|
|
||||||
%%DOCSDIR%%/contrib/README.chkpass
|
|
||||||
%%DOCSDIR%%/contrib/README.cube
|
|
||||||
%%DOCSDIR%%/contrib/README.dbf2pg
|
|
||||||
%%DOCSDIR%%/contrib/README.dblink
|
|
||||||
%%DOCSDIR%%/contrib/README.dbmirror
|
|
||||||
%%DOCSDIR%%/contrib/README.dbsize
|
|
||||||
%%DOCSDIR%%/contrib/README.earthdistance
|
|
||||||
%%DOCSDIR%%/contrib/README.findoidjoins
|
|
||||||
%%DOCSDIR%%/contrib/README.fti
|
|
||||||
%%DOCSDIR%%/contrib/README.fuzzystrmatch
|
|
||||||
%%DOCSDIR%%/contrib/README.int_aggregate
|
|
||||||
%%DOCSDIR%%/contrib/README.intarray
|
|
||||||
%%DOCSDIR%%/contrib/README.ipc_check
|
|
||||||
%%DOCSDIR%%/contrib/README.isbn_issn
|
|
||||||
%%DOCSDIR%%/contrib/README.lo
|
|
||||||
%%DOCSDIR%%/contrib/README.ltree
|
|
||||||
%%DOCSDIR%%/contrib/README.misc_utils
|
|
||||||
%%DOCSDIR%%/contrib/README.noup
|
|
||||||
%%DOCSDIR%%/contrib/README.oid2name
|
|
||||||
%%DOCSDIR%%/contrib/README.pg_autovacuum
|
|
||||||
%%DOCSDIR%%/contrib/README.pg_dumplo
|
|
||||||
%%DOCSDIR%%/contrib/README.pg_logger
|
|
||||||
%%DOCSDIR%%/contrib/README.pgbench
|
|
||||||
%%DOCSDIR%%/contrib/README.pgbench_jis
|
|
||||||
%%DOCSDIR%%/contrib/README.pgcrypto
|
|
||||||
%%DOCSDIR%%/contrib/README.pgstattuple
|
|
||||||
%%DOCSDIR%%/contrib/README.pgstattuple.euc_jp
|
|
||||||
%%DOCSDIR%%/contrib/README.reindexdb
|
|
||||||
%%DOCSDIR%%/contrib/README.rserv
|
|
||||||
%%DOCSDIR%%/contrib/README.rtree_gist
|
|
||||||
%%DOCSDIR%%/contrib/README.seg
|
|
||||||
%%DOCSDIR%%/contrib/README.soundex
|
|
||||||
%%DOCSDIR%%/contrib/README.spi
|
|
||||||
%%DOCSDIR%%/contrib/README.string_io
|
|
||||||
%%DOCSDIR%%/contrib/README.tablefunc
|
|
||||||
%%DOCSDIR%%/contrib/README.tsearch
|
|
||||||
%%DOCSDIR%%/contrib/README.tsearch2
|
|
||||||
%%DOCSDIR%%/contrib/README.user_locks
|
|
||||||
%%DOCSDIR%%/contrib/README.vacuumlo
|
|
||||||
%%DOCSDIR%%/contrib/autoinc.example
|
|
||||||
%%DOCSDIR%%/contrib/insert_username.example
|
|
||||||
%%DOCSDIR%%/contrib/moddatetime.example
|
|
||||||
%%DOCSDIR%%/contrib/refint.example
|
|
||||||
%%DOCSDIR%%/contrib/timetravel.example
|
|
||||||
share/postgresql/contrib/RServ.pm
|
|
||||||
share/postgresql/contrib/_int.sql
|
|
||||||
share/postgresql/contrib/autoinc.sql
|
|
||||||
share/postgresql/contrib/btree_gist.sql
|
|
||||||
share/postgresql/contrib/chkpass.sql
|
|
||||||
share/postgresql/contrib/cube.sql
|
|
||||||
share/postgresql/contrib/dblink.sql
|
|
||||||
share/postgresql/contrib/dbsize.sql
|
|
||||||
share/postgresql/contrib/earthdistance.sql
|
|
||||||
share/postgresql/contrib/english.stop
|
|
||||||
share/postgresql/contrib/fti.sql
|
|
||||||
share/postgresql/contrib/fuzzystrmatch.sql
|
|
||||||
share/postgresql/contrib/insert_username.sql
|
|
||||||
share/postgresql/contrib/int_aggregate.sql
|
|
||||||
share/postgresql/contrib/isbn_issn.sql
|
|
||||||
share/postgresql/contrib/lo.sql
|
|
||||||
share/postgresql/contrib/lo_drop.sql
|
|
||||||
share/postgresql/contrib/lo_test.sql
|
|
||||||
share/postgresql/contrib/ltree.sql
|
|
||||||
share/postgresql/contrib/master.sql
|
|
||||||
share/postgresql/contrib/misc_utils.sql
|
|
||||||
share/postgresql/contrib/moddatetime.sql
|
|
||||||
share/postgresql/contrib/noup.sql
|
|
||||||
share/postgresql/contrib/pgcrypto.sql
|
|
||||||
share/postgresql/contrib/pgstattuple.sql
|
|
||||||
share/postgresql/contrib/refint.sql
|
|
||||||
share/postgresql/contrib/rtree_gist.sql
|
|
||||||
share/postgresql/contrib/russian.stop
|
|
||||||
share/postgresql/contrib/seg.sql
|
|
||||||
share/postgresql/contrib/slave.sql
|
|
||||||
share/postgresql/contrib/string_io.sql
|
|
||||||
share/postgresql/contrib/tablefunc.sql
|
|
||||||
share/postgresql/contrib/timetravel.sql
|
|
||||||
share/postgresql/contrib/tsearch.sql
|
|
||||||
share/postgresql/contrib/tsearch2.sql
|
|
||||||
share/postgresql/contrib/untsearch2.sql
|
|
||||||
share/postgresql/contrib/user_locks.sql
|
|
||||||
@unexec rmdir %D/share/postgresql/contrib >&2 2> /dev/null || true
|
|
||||||
@unexec rmdir %D/share/postgresql >&2 2> /dev/null || true
|
|
||||||
@unexec rmdir %D/%%DOCSDIR%%/contrib >&2 2> /dev/null || true
|
|
||||||
@unexec rmdir %D/%%DOCSDIR%% >&2 2> /dev/null || true
|
|
||||||
@unexec rmdir %D/lib/postgresql >&2 2> /dev/null || true
|
|
|
@ -5,19 +5,33 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
PORTNAME= postgresql
|
||||||
PORTREVISION= 0
|
PORTREVISION= 0
|
||||||
PKGNAMESUFFIX= -docs
|
PKGNAMESUFFIX= -docs
|
||||||
|
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= The PostgreSQL documentation set
|
COMMENT= The PostgreSQL documentation set
|
||||||
|
|
||||||
POSTGRESQL_SUBPORT= YES
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
# can't include <bsd.port.pre.mk> in a slave port
|
||||||
|
# so set these instead:
|
||||||
|
LOCALBASE?= ${DESTDIR}/usr/local
|
||||||
|
SED?= /usr/bin/sed
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
|
DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX}
|
||||||
.undef USE_GMAKE
|
|
||||||
.undef GNU_CONFIGURE
|
|
||||||
NO_BUILD= YES
|
NO_BUILD= YES
|
||||||
|
SLAVE_ONLY= YES
|
||||||
|
PATCHDIR= mustnotexist
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@ $(MKDIR) ${DOCSDIR}/html; \
|
@ $(MKDIR) ${DOCSDIR}/html; \
|
||||||
|
@ -32,4 +46,4 @@ post-install:
|
||||||
${ECHO} @dirrm ${DOCSDIR:S,^${PREFIX}/,,}/html >> ${TMPPLIST} ;\
|
${ECHO} @dirrm ${DOCSDIR:S,^${PREFIX}/,,}/html >> ${TMPPLIST} ;\
|
||||||
${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
|
${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= libpq++
|
PORTNAME= libpq++
|
||||||
PORTVERSION= 4.0
|
PORTVERSION= 4.0
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqpp/stable/
|
MASTER_SITES= ftp://gborg.postgresql.org/pub/libpqpp/stable/
|
||||||
PKGNAMEPREFIX= postgresql-
|
PKGNAMEPREFIX= postgresql-
|
||||||
|
@ -16,9 +16,7 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= C++ interface for PostgreSQL
|
COMMENT= C++ interface for PostgreSQL
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
USE_REINPLACE= YES
|
USE_REINPLACE= YES
|
||||||
INSTALLS_SHLIB= YES
|
INSTALLS_SHLIB= YES
|
||||||
|
|
|
@ -16,8 +16,7 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= A new C++ interface for PostgreSQL
|
COMMENT= A new C++ interface for PostgreSQL
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= YES
|
||||||
|
|
||||||
USE_INC_LIBTOOL_VER=15
|
USE_INC_LIBTOOL_VER=15
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= YES
|
||||||
|
@ -28,8 +27,6 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--with-postgres-include=${LOCALBASE}/include/postgresql
|
--with-postgres-include=${LOCALBASE}/include/postgresql
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 500035
|
.if ${OSVERSION} < 500035
|
||||||
|
|
|
@ -71,3 +71,4 @@ lib/libpqxx.so
|
||||||
lib/libpqxx-%%PORTVERSION%%.so
|
lib/libpqxx-%%PORTVERSION%%.so
|
||||||
libdata/pkgconfig/libpqxx.pc
|
libdata/pkgconfig/libpqxx.pc
|
||||||
@dirrm include/pqxx
|
@dirrm include/pqxx
|
||||||
|
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
|
||||||
|
|
|
@ -16,8 +16,7 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= A new C++ interface for PostgreSQL
|
COMMENT= A new C++ interface for PostgreSQL
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= YES
|
||||||
|
|
||||||
USE_INC_LIBTOOL_VER=15
|
USE_INC_LIBTOOL_VER=15
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= YES
|
||||||
|
@ -28,8 +27,6 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--with-postgres-include=${LOCALBASE}/include/postgresql
|
--with-postgres-include=${LOCALBASE}/include/postgresql
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 500035
|
.if ${OSVERSION} < 500035
|
||||||
|
|
|
@ -71,3 +71,4 @@ lib/libpqxx.so
|
||||||
lib/libpqxx-%%PORTVERSION%%.so
|
lib/libpqxx-%%PORTVERSION%%.so
|
||||||
libdata/pkgconfig/libpqxx.pc
|
libdata/pkgconfig/libpqxx.pc
|
||||||
@dirrm include/pqxx
|
@dirrm include/pqxx
|
||||||
|
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
|
||||||
|
|
|
@ -16,8 +16,7 @@ DIST_SUBDIR= postgresql
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= A new C++ interface for PostgreSQL
|
COMMENT= A new C++ interface for PostgreSQL
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= YES
|
||||||
|
|
||||||
USE_INC_LIBTOOL_VER=15
|
USE_INC_LIBTOOL_VER=15
|
||||||
USE_GMAKE= YES
|
USE_GMAKE= YES
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= YES
|
||||||
|
@ -28,8 +27,6 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--with-postgres-include=${LOCALBASE}/include/postgresql
|
--with-postgres-include=${LOCALBASE}/include/postgresql
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 500035
|
.if ${OSVERSION} < 500035
|
||||||
|
|
|
@ -71,3 +71,4 @@ lib/libpqxx.so
|
||||||
lib/libpqxx-%%PORTVERSION%%.so
|
lib/libpqxx-%%PORTVERSION%%.so
|
||||||
libdata/pkgconfig/libpqxx.pc
|
libdata/pkgconfig/libpqxx.pc
|
||||||
@dirrm include/pqxx
|
@dirrm include/pqxx
|
||||||
|
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
|
||||||
|
|
|
@ -5,21 +5,40 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
PORTNAME= postgresql
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases python
|
CATEGORIES= databases python
|
||||||
PKGNAMESUFFIX= -plpython
|
PKGNAMESUFFIX= -plpython
|
||||||
|
|
||||||
MAINTAINER= dd@FreeBSD.org
|
MAINTAINER= dd@FreeBSD.org
|
||||||
COMMENT= A module for using Python to write SQL functions
|
COMMENT= A module for using Python to write SQL functions
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
POSTGRESQL_SUBPORT=YES
|
|
||||||
.include "../../${POSTGRESQL_PORT}/Makefile"
|
|
||||||
|
|
||||||
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||||
|
|
||||||
USE_PYTHON= yes
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
|
|
||||||
MAKE_ARGS+= -C src/pl/plpython
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
# can't include <bsd.port.pre.mk> in a slave port
|
||||||
|
# so set these instead:
|
||||||
|
LOCALBASE?= ${DESTDIR}/usr/local
|
||||||
|
SED?= /usr/bin/sed
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
USE_PYTHON= yes
|
||||||
CONFIGURE_ARGS= --with-python
|
CONFIGURE_ARGS= --with-python
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
BUILD_DIRS= src/pl/plpython
|
||||||
|
SLAVE_ONLY= yes
|
||||||
|
|
||||||
|
POSTGRESQL_PORT=databases/postgresql${PGSQL_VER}-server
|
||||||
|
|
||||||
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/pl/plpython/Makefile~ Thu Mar 4 08:06:19 2004
|
|
||||||
+++ src/pl/plpython/Makefile Thu Mar 4 08:06:44 2004
|
|
||||||
@@ -8,7 +8,7 @@
|
|
||||||
# On some platforms we can only build PL/Python if libpython is a
|
|
||||||
# shared library. Since there is no official way to determine this,
|
|
||||||
# we see if there is a file that is named like a shared library.
|
|
||||||
-ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
|
|
||||||
+ifneq (,$(wildcard $(python_configdir)/../../libpython*$(DLSUFFIX)*))
|
|
||||||
shared_libpython = yes
|
|
||||||
endif
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
lib/postgresql/plpython.so
|
|
||||||
@unexec rmdir %D/lib/postgresql 2>/dev/null || true
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= plruby
|
PORTNAME= plruby
|
||||||
PORTVERSION= 0.4.3
|
PORTVERSION= 0.4.3
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases ruby
|
CATEGORIES= databases ruby
|
||||||
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
|
MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/
|
||||||
PKGNAMEPREFIX= postgresql-
|
PKGNAMEPREFIX= postgresql-
|
||||||
|
@ -16,19 +17,18 @@ MAINTAINER= knu@FreeBSD.org
|
||||||
COMMENT= PL/Ruby procedural language for the PostgreSQL database system
|
COMMENT= PL/Ruby procedural language for the PostgreSQL database system
|
||||||
|
|
||||||
BUILD_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
BUILD_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||||
LIB_DEPENDS= pq.3:${PGSQL_PORTDIR}
|
|
||||||
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
USE_RUBY_EXTCONF= yes
|
USE_RUBY_EXTCONF= yes
|
||||||
USE_RUBY_RDOC= yes
|
USE_RUBY_RDOC= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
POSTGRESQL_PORT?= databases/postgresql${PGSQL_VER}-server
|
||||||
PGSQL_VERSION?= 74
|
|
||||||
PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT}
|
PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT}
|
||||||
PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
|
PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-pgsql-version="${PGSQL_VERSION}" \
|
CONFIGURE_ARGS= --with-pgsql-version="${PGSQL_VER}" \
|
||||||
--with-pgsql-srcinc="`${PGSQL_WRKSRC_CMD}`/src/include" \
|
--with-pgsql-srcinc="`${PGSQL_WRKSRC_CMD}`/src/include" \
|
||||||
--with-pgsql-include="${LOCALBASE}/include" \
|
--with-pgsql-include="${LOCALBASE}/include" \
|
||||||
--with-pgsql-lib="${LOCALBASE}/lib"
|
--with-pgsql-lib="${LOCALBASE}/lib"
|
||||||
|
@ -58,6 +58,17 @@ post-build:
|
||||||
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
|
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
|
||||||
|
@ -70,4 +81,4 @@ post-install:
|
||||||
.endif
|
.endif
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
PORTNAME= postgresql
|
||||||
PORTREVISION= 0
|
PORTREVISION= 0
|
||||||
CATEGORIES= databases tcl${TCLVERSION:S/.//}
|
CATEGORIES= databases tcl${TCLVERSION:S/.//}
|
||||||
PKGNAMESUFFIX= -pltcl
|
PKGNAMESUFFIX= -pltcl
|
||||||
|
@ -12,12 +13,26 @@ PKGNAMESUFFIX= -pltcl
|
||||||
MAINTAINER= girgen@FreeBSD.org
|
MAINTAINER= girgen@FreeBSD.org
|
||||||
COMMENT= A module for using Tcl to write SQL functions
|
COMMENT= A module for using Tcl to write SQL functions
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
|
||||||
POSTGRESQL_SUBPORT=YES
|
|
||||||
.include "../../${POSTGRESQL_PORT}/Makefile"
|
|
||||||
|
|
||||||
|
RUN_DEPENDS= postgres:${MASTERDIR}
|
||||||
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
|
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
|
||||||
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
# can't include <bsd.port.pre.mk> in a slave port
|
||||||
|
# so set these instead:
|
||||||
|
LOCALBASE?= ${DESTDIR}/usr/local
|
||||||
|
SED?= /usr/bin/sed
|
||||||
|
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
|
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
|
||||||
TCLVERSION?= 8.4
|
TCLVERSION?= 8.4
|
||||||
|
@ -27,10 +42,9 @@ CONFIGURE_ARGS= --with-tcl --without-tk \
|
||||||
|
|
||||||
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
|
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
|
||||||
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
|
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
|
||||||
MAKE_ARGS+= -C src/pl/tcl
|
|
||||||
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
|
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
|
||||||
|
|
||||||
post-install:
|
BUILD_DIRS= src/pl/tcl
|
||||||
@ ${CAT} ${PKGMESSAGE}
|
SLAVE_ONLY= yes
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
PL/Tcl has been installed. Check the createlang(l) manpage for more
|
|
||||||
info. You can install pltcl as trusted or untrusted, by using either
|
|
||||||
"createlang pltcl" or "createlang pltclu".
|
|
|
@ -1,7 +0,0 @@
|
||||||
lib/postgresql/pltcl.so
|
|
||||||
@unexec rmdir %D/lib/postgresql 2>/dev/null || true
|
|
||||||
bin/pltcl_loadmod
|
|
||||||
bin/pltcl_delmod
|
|
||||||
bin/pltcl_listmod
|
|
||||||
share/postgresql/unknown.pltcl
|
|
||||||
@unexec rmdir %D/share/postgresql 2>/dev/null || true
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= PyGreSQL
|
PORTNAME= PyGreSQL
|
||||||
PORTVERSION= 3.5
|
PORTVERSION= 3.5
|
||||||
|
PORTREVISION= 1
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= databases python
|
CATEGORIES= databases python
|
||||||
MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/
|
MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/
|
||||||
|
@ -18,9 +19,8 @@ COMMENT= A Python interface to PostgreSQL, both classic and DP-API 2.0
|
||||||
|
|
||||||
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||||
LIB_DEPENDS= pq:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
|
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
|
||||||
USE_REINPLACE=yes
|
USE_REINPLACE=yes
|
||||||
|
|
|
@ -17,14 +17,12 @@ COMMENT= The high performance Python adapter for PostgreSQL
|
||||||
|
|
||||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||||
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
ALL_TARGET= sharedmods
|
ALL_TARGET= sharedmods
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
|
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= pyPgSQL
|
PORTNAME= pyPgSQL
|
||||||
PORTVERSION= 2.4
|
PORTVERSION= 2.4
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases python
|
CATEGORIES= databases python
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= pypgsql
|
MASTER_SITE_SUBDIR= pypgsql
|
||||||
|
@ -18,11 +18,10 @@ MAINTAINER= gerhard.haering@gmx.de
|
||||||
COMMENT= A Python DB-API 2 compliant library for using PostgreSQL databases
|
COMMENT= A Python DB-API 2 compliant library for using PostgreSQL databases
|
||||||
|
|
||||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/pypgsql
|
WRKSRC= ${WRKDIR}/pypgsql
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
PORTNAME= qt-${DB}-plugin
|
PORTNAME= qt-${DB}-plugin
|
||||||
PORTVERSION= 3.3.3
|
PORTVERSION= 3.3.3
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
|
MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \
|
||||||
ftp://ftp.silug.org/pub/qt/ \
|
ftp://ftp.silug.org/pub/qt/ \
|
||||||
|
@ -21,11 +22,9 @@ COMMENT= A plugin for QT to connect to PostgreSQL-Databases
|
||||||
|
|
||||||
DB= psql
|
DB= psql
|
||||||
|
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/${POSTGRESQL_PORT} \
|
LIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt33
|
||||||
qt-mt:${PORTSDIR}/x11-toolkits/qt33
|
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
PLUGIN= plugins/src/sqldrivers/${DB}
|
PLUGIN= plugins/src/sqldrivers/${DB}
|
||||||
DRIVER= src/sql/drivers/${DB}
|
DRIVER= src/sql/drivers/${DB}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= postgres
|
PORTNAME= postgres
|
||||||
PORTVERSION= 0.7.1
|
PORTVERSION= 0.7.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases ruby
|
CATEGORIES= databases ruby
|
||||||
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
|
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
|
||||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||||
|
@ -17,10 +17,7 @@ DIST_SUBDIR= ruby
|
||||||
MAINTAINER= knu@FreeBSD.org
|
MAINTAINER= knu@FreeBSD.org
|
||||||
COMMENT= Ruby interface to PostgreSQL library
|
COMMENT= Ruby interface to PostgreSQL library
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
USE_RUBY_EXTCONF= yes
|
USE_RUBY_EXTCONF= yes
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= postgres
|
PORTNAME= postgres
|
||||||
PORTVERSION= 0.7.1
|
PORTVERSION= 0.7.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= databases ruby
|
CATEGORIES= databases ruby
|
||||||
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
|
MASTER_SITES= http://www.postgresql.jp/interfaces/ruby/archive/
|
||||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||||
|
@ -17,10 +17,7 @@ DIST_SUBDIR= ruby
|
||||||
MAINTAINER= knu@FreeBSD.org
|
MAINTAINER= knu@FreeBSD.org
|
||||||
COMMENT= Ruby interface to PostgreSQL library
|
COMMENT= Ruby interface to PostgreSQL library
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
USE_RUBY_EXTCONF= yes
|
USE_RUBY_EXTCONF= yes
|
||||||
|
|
||||||
|
|
|
@ -7,13 +7,14 @@
|
||||||
|
|
||||||
PORTNAME= slony1
|
PORTNAME= slony1
|
||||||
PORTVERSION= 1.0.5
|
PORTVERSION= 1.0.5
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
||||||
|
|
||||||
MAINTAINER= vivek@khera.org
|
MAINTAINER= vivek@khera.org
|
||||||
COMMENT= PostgreSQL master to multiple slaves replication system
|
COMMENT= PostgreSQL master to multiple slaves replication system
|
||||||
|
|
||||||
PGSQL_PORT= ${PORTSDIR}/databases/postgresql7
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
BUILD_DEPENDS= ${NONEXISTENT}:${PGSQL_PORT}:configure
|
BUILD_DEPENDS= ${NONEXISTENT}:${PGSQL_PORT}:configure
|
||||||
.if ! defined(NOPORTDOCS)
|
.if ! defined(NOPORTDOCS)
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \
|
||||||
|
@ -43,6 +44,19 @@ PLIST_FILES= bin/slon bin/slonik bin/slony_setup.pl \
|
||||||
share/postgresql/xxid.v74.sql
|
share/postgresql/xxid.v74.sql
|
||||||
PORTDOCS= *.pdf howto COPYRIGHT README slonik_commands.html
|
PORTDOCS= *.pdf howto COPYRIGHT README slonik_commands.html
|
||||||
|
|
||||||
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all
|
cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all
|
||||||
cd ${PGSQL_SRC}/src/port && ${GMAKE} all
|
cd ${PGSQL_SRC}/src/port && ${GMAKE} all
|
||||||
|
@ -61,4 +75,4 @@ do-install:
|
||||||
.endif
|
.endif
|
||||||
${CAT} ${PKGMESSAGE}
|
${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -7,13 +7,14 @@
|
||||||
|
|
||||||
PORTNAME= slony1
|
PORTNAME= slony1
|
||||||
PORTVERSION= 1.0.5
|
PORTVERSION= 1.0.5
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
||||||
|
|
||||||
MAINTAINER= vivek@khera.org
|
MAINTAINER= vivek@khera.org
|
||||||
COMMENT= PostgreSQL master to multiple slaves replication system
|
COMMENT= PostgreSQL master to multiple slaves replication system
|
||||||
|
|
||||||
PGSQL_PORT= ${PORTSDIR}/databases/postgresql7
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
BUILD_DEPENDS= ${NONEXISTENT}:${PGSQL_PORT}:configure
|
BUILD_DEPENDS= ${NONEXISTENT}:${PGSQL_PORT}:configure
|
||||||
.if ! defined(NOPORTDOCS)
|
.if ! defined(NOPORTDOCS)
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \
|
||||||
|
@ -43,6 +44,19 @@ PLIST_FILES= bin/slon bin/slonik bin/slony_setup.pl \
|
||||||
share/postgresql/xxid.v74.sql
|
share/postgresql/xxid.v74.sql
|
||||||
PORTDOCS= *.pdf howto COPYRIGHT README slonik_commands.html
|
PORTDOCS= *.pdf howto COPYRIGHT README slonik_commands.html
|
||||||
|
|
||||||
|
DEFAULT_PGSQL_VER?=74
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.elif exists(${LOCALBASE}/bin/pg_config)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all
|
cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all
|
||||||
cd ${PGSQL_SRC}/src/port && ${GMAKE} all
|
cd ${PGSQL_SRC}/src/port && ${GMAKE} all
|
||||||
|
@ -61,4 +75,4 @@ do-install:
|
||||||
.endif
|
.endif
|
||||||
${CAT} ${PKGMESSAGE}
|
${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -34,8 +34,6 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
|
|
||||||
.include "${.CURDIR}/Makefile.common"
|
.include "${.CURDIR}/Makefile.common"
|
||||||
|
|
||||||
OPTIONS= MSQL "Build MSQL connection" off \
|
OPTIONS= MSQL "Build MSQL connection" off \
|
||||||
|
@ -89,7 +87,7 @@ IF_MSQL= "@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL) && ${WITH_POSTGRESQL:L} != no
|
.if defined(WITH_POSTGRESQL) && ${WITH_POSTGRESQL:L} != no
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
|
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
|
||||||
IF_POSTGRESQL= ""
|
IF_POSTGRESQL= ""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= libpreps
|
PORTNAME= libpreps
|
||||||
PORTVERSION= 1.9.0
|
PORTVERSION= 1.9.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= http://webpages.charter.net/stuffle/linux/preps/
|
MASTER_SITES= http://webpages.charter.net/stuffle/linux/preps/
|
||||||
PKGNAMESUFFIX= -devel
|
PKGNAMESUFFIX= -devel
|
||||||
|
@ -15,13 +16,12 @@ DIST_SUBDIR= prep
|
||||||
MAINTAINER= shadow@psoft.net
|
MAINTAINER= shadow@psoft.net
|
||||||
COMMENT= Problem reporting system
|
COMMENT= Problem reporting system
|
||||||
|
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
|
||||||
|
|
||||||
CONFLICTS= libpreps-1.6.*
|
CONFLICTS= libpreps-1.6.*
|
||||||
LATEST_LINK= libpreps-devel
|
LATEST_LINK= libpreps-devel
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_GNOME= glib12
|
USE_GNOME= glib12
|
||||||
|
@ -30,6 +30,8 @@ GNU_CONFIGURE= yes
|
||||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITHOUT_SERVER)
|
.if defined(WITHOUT_SERVER)
|
||||||
CONFIGURE_ARGS+=--disable-server
|
CONFIGURE_ARGS+=--disable-server
|
||||||
PKGNAMESUFFIX= -client
|
PKGNAMESUFFIX= -client
|
||||||
|
@ -39,4 +41,15 @@ MAN1= create_prepsdb.1 update_prepsdb.1
|
||||||
PLIST_SUB+= SERVER=""
|
PLIST_SUB+= SERVER=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
.if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
.else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
.endif
|
||||||
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
|
BUILD_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
|
RUN_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -14,10 +14,9 @@ DIST_SUBDIR= prep
|
||||||
MAINTAINER= shadow@psoft.net
|
MAINTAINER= shadow@psoft.net
|
||||||
COMMENT= Problem reporting system
|
COMMENT= Problem reporting system
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
|
|
||||||
|
|
||||||
CONFLICTS= libpreps-devel-1.9.*
|
CONFLICTS= libpreps-devel-1.9.*
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_GNOME= glib12
|
USE_GNOME= glib12
|
||||||
|
@ -29,6 +28,8 @@ CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITHOUT_SERVER)
|
.if defined(WITHOUT_SERVER)
|
||||||
CONFIGURE_ARGS+=--disable-server
|
CONFIGURE_ARGS+=--disable-server
|
||||||
PKGNAMESUFFIX= -client
|
PKGNAMESUFFIX= -client
|
||||||
|
@ -36,6 +37,16 @@ PLIST_SUB+= SERVER="@comment "
|
||||||
.else
|
.else
|
||||||
MAN1= create_prepsdb.1 update_prepsdb.1
|
MAN1= create_prepsdb.1 update_prepsdb.1
|
||||||
PLIST_SUB+= SERVER=""
|
PLIST_SUB+= SERVER=""
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
. if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
. else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
. endif
|
||||||
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
|
BUILD_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
|
RUN_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -14,10 +14,9 @@ DIST_SUBDIR= prep
|
||||||
MAINTAINER= shadow@psoft.net
|
MAINTAINER= shadow@psoft.net
|
||||||
COMMENT= Problem reporting system
|
COMMENT= Problem reporting system
|
||||||
|
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
|
|
||||||
|
|
||||||
CONFLICTS= libpreps-devel-1.9.*
|
CONFLICTS= libpreps-devel-1.9.*
|
||||||
|
|
||||||
|
USE_PGSQL= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_GNOME= glib12
|
USE_GNOME= glib12
|
||||||
|
@ -29,6 +28,8 @@ CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if defined(WITHOUT_SERVER)
|
.if defined(WITHOUT_SERVER)
|
||||||
CONFIGURE_ARGS+=--disable-server
|
CONFIGURE_ARGS+=--disable-server
|
||||||
PKGNAMESUFFIX= -client
|
PKGNAMESUFFIX= -client
|
||||||
|
@ -36,6 +37,16 @@ PLIST_SUB+= SERVER="@comment "
|
||||||
.else
|
.else
|
||||||
MAN1= create_prepsdb.1 update_prepsdb.1
|
MAN1= create_prepsdb.1 update_prepsdb.1
|
||||||
PLIST_SUB+= SERVER=""
|
PLIST_SUB+= SERVER=""
|
||||||
|
# Setting/finding PostgreSQL version we want.
|
||||||
|
. if exists(${LOCALBASE}/bin/postmaster)
|
||||||
|
PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \
|
||||||
|
${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
|
||||||
|
. else
|
||||||
|
PGSQL_VER= ${DEFAULT_PGSQL_VER}
|
||||||
|
. endif
|
||||||
|
PGSQL_PORT= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
|
||||||
|
BUILD_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
|
RUN_DEPENDS+= postgres:${PGSQL_PORT}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -114,7 +114,7 @@ PLIST_SUB+= AFTERIMAGE="@comment "
|
||||||
|
|
||||||
.if !defined(WITHOUT_POSTGRESQL) && defined(WITH_POSTGRESQL)
|
.if !defined(WITHOUT_POSTGRESQL) && defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --enable-pgsql
|
CONFIGURE_ARGS+= --enable-pgsql
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
PLIST_SUB+= POSTGRESQL=""
|
PLIST_SUB+= POSTGRESQL=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-pgsql
|
CONFIGURE_ARGS+= --disable-pgsql
|
||||||
|
|
|
@ -25,7 +25,6 @@ MAINTAINER= dinoex@FreeBSD.org
|
||||||
COMMENT= The Berkeley Internet Name Daemon, with DLZ extensions
|
COMMENT= The Berkeley Internet Name Daemon, with DLZ extensions
|
||||||
|
|
||||||
CONFLICTS?= bind-8.* bind84-8.* bind9-9.* bind9-sdb-mysql-* host-* skalibs-*
|
CONFLICTS?= bind-8.* bind84-8.* bind9-9.* bind9-sdb-mysql-* host-* skalibs-*
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
MASTER_SITES_DLZ= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES_DLZ= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
|
||||||
ISCVERSION= 9.2.2
|
ISCVERSION= 9.2.2
|
||||||
|
@ -51,7 +50,7 @@ NO_DESCRIBE=yes
|
||||||
.if defined(WITH_POSTGRESQL_DRIVER)
|
.if defined(WITH_POSTGRESQL_DRIVER)
|
||||||
.if !defined(WITHOUT_POSTGRESQL_DRIVER)
|
.if !defined(WITHOUT_POSTGRESQL_DRIVER)
|
||||||
POSTGRESQL_SUFFIX= +postgres
|
POSTGRESQL_SUFFIX= +postgres
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-dlz-postgres
|
CONFIGURE_ARGS+= --with-dlz-postgres
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -35,8 +35,7 @@ CONFIGURE_ARGS+=--with-openssl
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+=--without-mysql
|
CONFIGURE_ARGS+=--without-mysql
|
||||||
PKGNAMESUFFIX= -pg
|
PKGNAMESUFFIX= -pg
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -35,8 +35,7 @@ CONFIGURE_ARGS+=--with-openssl
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+=--without-mysql
|
CONFIGURE_ARGS+=--without-mysql
|
||||||
PKGNAMESUFFIX= -pg
|
PKGNAMESUFFIX= -pg
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= sqldjbdns
|
PORTNAME= sqldjbdns
|
||||||
PORTVERSION= 0.72
|
PORTVERSION= 0.72
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/
|
MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/
|
||||||
|
|
||||||
|
@ -15,9 +16,10 @@ COMMENT= DJB dns server with PostgreSQL backend
|
||||||
|
|
||||||
DJ_PORT?= ${PORTSDIR}/dns/djbdns
|
DJ_PORT?= ${PORTSDIR}/dns/djbdns
|
||||||
BUILD_DEPENDS= ${NONEXISTENT}:${DJ_PORT}:extract
|
BUILD_DEPENDS= ${NONEXISTENT}:${DJ_PORT}:extract
|
||||||
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
|
|
||||||
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
|
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
|
||||||
|
|
||||||
|
USE_PGSQL= YES
|
||||||
|
|
||||||
PORTDOCS= ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \
|
PORTDOCS= ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \
|
||||||
pgsqldns-conf.html sqldns.html pgsqldns-schema.html
|
pgsqldns-conf.html sqldns.html pgsqldns-schema.html
|
||||||
DJ_SRC= `cd ${DJ_PORT} && make -V WRKSRC`
|
DJ_SRC= `cd ${DJ_PORT} && make -V WRKSRC`
|
||||||
|
|
|
@ -45,8 +45,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --enable-psql
|
CONFIGURE_ARGS+= --enable-psql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -126,8 +126,7 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
|
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
|
||||||
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
|
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
|
||||||
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
|
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
|
||||||
|
|
|
@ -126,8 +126,7 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
|
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
|
||||||
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
|
INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
|
||||||
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
|
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
|
||||||
|
|
|
@ -68,8 +68,7 @@ CONFIGURE_ARGS+= --with-mysql
|
||||||
|
|
||||||
# postgresql support requested?
|
# postgresql support requested?
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -5,51 +5,17 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= postgresql-tcltk
|
PORTNAME= postgresql
|
||||||
CATEGORIES= japanese databases
|
PORTREVISION= 0
|
||||||
|
CATEGORIES= japanese databases tcl${TCLVERSION:C/[^0-9]//g}
|
||||||
|
PKGNAMESUFFIX= -tcltk
|
||||||
|
|
||||||
MAINTAINER= saito@a2z.co.jp
|
MAINTAINER= saito@a2z.co.jp
|
||||||
COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI
|
COMMENT= A 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
|
|
||||||
|
|
||||||
TCLVERSION?= 8.0jp
|
TCLVERSION?= 8.0jp
|
||||||
PLIST_SUB+= TCLVERSION=${TCLVERSION}
|
|
||||||
CONFIGURE_ARGS= --with-tcl \
|
|
||||||
--with-tclconfig=${TCLCONFIG} \
|
|
||||||
--with-includes=${INCDIRS}
|
|
||||||
|
|
||||||
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
|
TCLPORTDIR= ${PORTSDIR}/japanese/tcl
|
||||||
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
|
TKPORTDIR= ${PORTSDIR}/japanese/tk
|
||||||
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:
|
.include <${.CURDIR}/../../databases/postgresql-tcltk/Makefile>
|
||||||
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
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Package-index file for Pgtcl-package. Enables you to load PostgreSQL
|
|
||||||
# interface functions right into you TCL-interpreter as simply as
|
|
||||||
# package require Pgtcl
|
|
||||||
package ifneeded Pgtcl 1.3 "load %%PREFIX%%/lib/libpgtcl.so"
|
|
|
@ -1,8 +0,0 @@
|
||||||
libpgtcl is a library that implements Tcl commands for front-end
|
|
||||||
clients to interact with the Postgresql backends.
|
|
||||||
|
|
||||||
pgaccess is a great graphical database management tool for PostgreSQL.
|
|
||||||
|
|
||||||
This software is part of the standard PostgreSQL distribution.
|
|
||||||
|
|
||||||
WWW: http://www.postgresql.org/
|
|
|
@ -1,9 +0,0 @@
|
||||||
bin/pgtclsh
|
|
||||||
include/libpgtcl.h
|
|
||||||
lib/tcl%%TCLVERSION%%/Pgtcl1.3/pkgIndex.tcl
|
|
||||||
@dirrm lib/tcl%%TCLVERSION%%/Pgtcl1.3
|
|
||||||
lib/libpgtcl.a
|
|
||||||
lib/libpgtcl.so
|
|
||||||
lib/libpgtcl.so.2
|
|
||||||
%%TK%%bin/pgtksh
|
|
||||||
%%TK%%@unexec rmdir %D/share/postgresql 2>/dev/null || true
|
|
|
@ -69,11 +69,11 @@ NEW${lib:U}!= ${LDCONFIG} -r | ${GREP} ${lib} | ${GREP} -v 'compat/pkg' \
|
||||||
| ${AWK} -F 'lib\/' '{print $$2}'
|
| ${AWK} -F 'lib\/' '{print $$2}'
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/include/postgresql/server/postgres.h)
|
.if exists(${LOCALBASE}/bin/pg_config)
|
||||||
WITH_PGSQL= yes
|
WITH_PGSQL= yes
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-postgresql-includes=${LOCALBASE}/include/postgresql/server \
|
CONFIGURE_ARGS+= --with-postgresql-includes=${LOCALBASE}/include/postgresql/server \
|
||||||
--with-postgresql-libraries=${LOCALBASE}/lib
|
--with-postgresql-libraries=${LOCALBASE}/lib
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
|
|
|
@ -256,8 +256,7 @@ PHP_HEADER_DIRS=pcrelib
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "pgsql"
|
.if ${PHP_MODNAME} == "pgsql"
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -248,8 +248,7 @@ PHP_HEADER_DIRS=pcrelib
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "pgsql"
|
.if ${PHP_MODNAME} == "pgsql"
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -248,8 +248,7 @@ PHP_HEADER_DIRS=pcrelib
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "pgsql"
|
.if ${PHP_MODNAME} == "pgsql"
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -75,7 +75,7 @@ WITH_FREETYPE= yes
|
||||||
WITH_MYSQL= yes
|
WITH_MYSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libpq.so.2)
|
.if exists(${LOCALBASE}/lib/libpq.so)
|
||||||
WITH_POSTGRES= yes
|
WITH_POSTGRES= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ CONFIGURE_ARGS+= --without-mysql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRES)
|
.if defined(WITH_POSTGRES)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
|
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-pgsql
|
CONFIGURE_ARGS+= --without-pgsql
|
||||||
|
|
|
@ -154,7 +154,7 @@ CONFIGURE_ARGS+= --without-mysql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRES)
|
.if defined(WITH_POSTGRES)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
|
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-pgsql
|
CONFIGURE_ARGS+= --without-pgsql
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
PLIST_SUB+= PGSQLFLAG="@comment "
|
||||||
.else
|
.else
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= YES
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
PLIST_SUB+= PGSQLFLAG=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ CONFIGURE_ARGS= --disable-root-check --with-db=db \
|
||||||
--with-mailgroup=${MAILGRP} \
|
--with-mailgroup=${MAILGRP} \
|
||||||
--with-mailuid=${MAILUID} \
|
--with-mailuid=${MAILUID} \
|
||||||
--with-mailgid=${MAILGID} \
|
--with-mailgid=${MAILGID} \
|
||||||
--with-etcdir=${ETCDIR} \
|
--with-etcdir=${ETCDIR} \
|
||||||
--sysconfdir=${SYSCONFDIR} \
|
--sysconfdir=${SYSCONFDIR} \
|
||||||
--with-userdb=${USERDB} \
|
--with-userdb=${USERDB} \
|
||||||
--datadir=${DATADIR} \
|
--datadir=${DATADIR} \
|
||||||
|
@ -146,7 +146,7 @@ OPTIONS+=off
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS+=PGSQL "PostgreSQL authentication support"
|
OPTIONS+=PGSQL "PostgreSQL authentication support"
|
||||||
.if exists(${PGSQLBASE}/lib/libpq.so.3) || defined(WITH_PGSQL)
|
.if exists(${LOCALBASE}/lib/libpq.so) || defined(WITH_PGSQL)
|
||||||
OPTIONS+=on
|
OPTIONS+=on
|
||||||
.else
|
.else
|
||||||
OPTIONS+=off
|
OPTIONS+=off
|
||||||
|
@ -250,10 +250,10 @@ PLIST_SUB+= SUB_MYSQL="@comment "
|
||||||
|
|
||||||
.if defined(WITH_PGSQL) && !defined(WITHOUT_PGSQL)
|
.if defined(WITH_PGSQL) && !defined(WITHOUT_PGSQL)
|
||||||
PKGNAMESUFFIX!= ${ECHO} ${PKGNAMESUFFIX}-pgsql
|
PKGNAMESUFFIX!= ${ECHO} ${PKGNAMESUFFIX}-pgsql
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+=--with-authpgsql \
|
CONFIGURE_ARGS+=--with-authpgsql \
|
||||||
--with-pgsql-libs=${PGSQLBASE}/lib \
|
--with-pgsql-libs=${LOCALBASE}/lib \
|
||||||
--with-pgsql-includes=${PGSQLINCLUDES}
|
--with-pgsql-includes=${LOCALBASE}/include
|
||||||
PLIST_SUB+= SUB_PGSQL=""
|
PLIST_SUB+= SUB_PGSQL=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
CONFIGURE_ARGS+=--without-authpgsql
|
||||||
|
|
|
@ -31,7 +31,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
DATABASE= postgresql
|
DATABASE= postgresql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
|
@ -31,7 +31,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
DATABASE= postgresql
|
DATABASE= postgresql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
|
@ -31,7 +31,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
DATABASE= postgresql
|
DATABASE= postgresql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
|
@ -31,7 +31,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
DATABASE= postgresql
|
DATABASE= postgresql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
|
@ -31,7 +31,7 @@ SED_SCRIPT+= -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
.if defined(WITH_POSTGRESQL)
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
DATABASE= postgresql
|
DATABASE= postgresql
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
|
@ -96,7 +96,7 @@ CONFIGURE_ARGS+= --with-ldap
|
||||||
# can be used to store user tables.
|
# can be used to store user tables.
|
||||||
#
|
#
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ CONFIGURE_ARGS+= --with-ldap
|
||||||
# can be used to store user tables.
|
# can be used to store user tables.
|
||||||
#
|
#
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,7 @@ OPTIONS+= MYSQL40 "Use MySQL 4.0.x as back-end" on
|
||||||
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off
|
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off
|
||||||
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off
|
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off
|
||||||
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
|
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
|
||||||
OPTIONS+= POSTGRESQL73 "Use PostgreSQL v.7.3 as back-end" off
|
OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" off
|
||||||
OPTIONS+= POSTGRESQL74 "Use PostgreSQL v.7.4 as back-end" off
|
|
||||||
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off
|
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off
|
||||||
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off
|
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off
|
||||||
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off
|
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" off
|
||||||
|
@ -213,9 +212,8 @@ CONFIGURE_ARGS+= --disable-trusted-user-security
|
||||||
DBDRV_TOTAL_COUNT= ooooooooo # 9
|
DBDRV_TOTAL_COUNT= ooooooooo # 9
|
||||||
DBDRV_COUNT= ${DBDRV_TOTAL_COUNT}
|
DBDRV_COUNT= ${DBDRV_TOTAL_COUNT}
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL73)
|
.if defined(WITH_POSTGRESQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql73
|
USE_PGSQL= YES
|
||||||
#BUILD_DEPENDS+= ${LIB_DEPENDS}
|
|
||||||
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
||||||
--with-pgsql-includes=${LOCALBASE}/include \
|
--with-pgsql-includes=${LOCALBASE}/include \
|
||||||
--with-pgsql-libraries=${LOCALBASE}/lib
|
--with-pgsql-libraries=${LOCALBASE}/lib
|
||||||
|
@ -226,24 +224,7 @@ PLIST_SUB+= SQLITE="@comment "
|
||||||
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
||||||
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
||||||
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
||||||
#PKGNAMESUFFIX= -pgsql73
|
#PKGNAMESUFFIX= -pgsql
|
||||||
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL74)
|
|
||||||
LIB_DEPENDS+= ecpg.4:${PORTSDIR}/databases/postgresql7
|
|
||||||
#BUILD_DEPENDS+= ${LIB_DEPENDS}
|
|
||||||
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
|
||||||
--with-pgsql-includes=${LOCALBASE}/include \
|
|
||||||
--with-pgsql-libraries=${LOCALBASE}/lib
|
|
||||||
PLIST_SUB+= DB4="@comment "
|
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
|
||||||
PLIST_SUB+= PGSQL=""
|
|
||||||
PLIST_SUB+= SQLITE="@comment "
|
|
||||||
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
|
||||||
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
|
||||||
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
|
||||||
#PKGNAMESUFFIX= -pgsql74
|
|
||||||
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -361,7 +342,7 @@ LDA_COUNT:= ${LDA_COUNT:S/o//}
|
||||||
.if defined(WITH_EXIM_LDA)
|
.if defined(WITH_EXIM_LDA)
|
||||||
. if defined(WITH_MYSQL40) || (WITH_MYSQL41)
|
. if defined(WITH_MYSQL40) || (WITH_MYSQL41)
|
||||||
_EXIM_EXT= -mysql
|
_EXIM_EXT= -mysql
|
||||||
. elseif defined(WITH_POSTGRESQL74) || defined(WITH_POSTGRESQL73)
|
. elseif defined(WITH_POSTGRESQL)
|
||||||
####
|
####
|
||||||
### fix me for pg 7.3: how to pass the db option to exim port ?
|
### fix me for pg 7.3: how to pass the db option to exim port ?
|
||||||
###
|
###
|
||||||
|
@ -457,16 +438,6 @@ pre-everything::
|
||||||
@${ECHO_CMD} ""
|
@${ECHO_CMD} ""
|
||||||
|
|
||||||
pre-extract:
|
pre-extract:
|
||||||
.if defined(WITH_EXIM_LDA) && defined(WITH_POSTGRESQL73)
|
|
||||||
@${ECHO_CMD} "******************************************************************"
|
|
||||||
@${ECHO_CMD} "You have both EXIM_LDA and POSTGRESQL73 defined. To have exim"
|
|
||||||
@${ECHO_CMD} "built with the right pgsql please hit Ctrl-C now and do:"
|
|
||||||
@${ECHO_CMD} "cd ${PORTSDIR}/mail/exim-postgresql && make POSTGRESQL_PORT=postgresql73 inst
|
|
||||||
@${ECHO_CMD} "then return here and do:"
|
|
||||||
@${ECHO_CMD} "make clean && make install"
|
|
||||||
@${ECHO_CMD} "******************************************************************"
|
|
||||||
@${ECHO_CMD} ""
|
|
||||||
.endif
|
|
||||||
@${ECHO_CMD} "Define vars below before make-ing if you need:"
|
@${ECHO_CMD} "Define vars below before make-ing if you need:"
|
||||||
@${ECHO_CMD} ""
|
@${ECHO_CMD} ""
|
||||||
@${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)"
|
@${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)"
|
||||||
|
@ -540,22 +511,22 @@ pre-configure:
|
||||||
@${ECHO_CMD} "You can use one and only one database back-end at once."
|
@${ECHO_CMD} "You can use one and only one database back-end at once."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_NEURAL_NET) && !(defined(USE_MYSQL) || defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74))
|
.if defined(WITH_NEURAL_NET) && !(defined(USE_MYSQL) || defined(WITH_POSTGRESQL))
|
||||||
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
|
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \
|
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \
|
||||||
defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) || defined(WITH_ORACLE))
|
defined(WITH_POSTGRESQL) || defined(WITH_ORACLE))
|
||||||
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users."
|
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \
|
.if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \
|
||||||
defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) )
|
defined(WITH_POSTGRESQL) )
|
||||||
@${ECHO_CMD} "You need MySQL or Postgres for preferences extension"
|
@${ECHO_CMD} "You need MySQL or Postgres for preferences extension"
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_DAEMON) && !( defined(USE_MYSQL) || \
|
.if defined(WITH_DAEMON) && !( defined(USE_MYSQL) || \
|
||||||
defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) )
|
defined(WITH_POSTGRESQL) )
|
||||||
@${ECHO_CMD} "You need MySQL or Postgres for Daemon mode, because multithreading support is needed"
|
@${ECHO_CMD} "You need MySQL or Postgres for Daemon mode, because multithreading support is needed"
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
|
@ -588,7 +559,7 @@ post-install:
|
||||||
@${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql
|
@${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql
|
||||||
@${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql
|
@${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74)
|
.if defined(WITH_POSTGRESQL)
|
||||||
@${MKDIR} ${EXAMPLESDIR}/pgsql
|
@${MKDIR} ${EXAMPLESDIR}/pgsql
|
||||||
@cd ${WRKSRC}/src/tools.pgsql_drv && \
|
@cd ${WRKSRC}/src/tools.pgsql_drv && \
|
||||||
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/pgsql
|
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/pgsql
|
||||||
|
|
|
@ -56,8 +56,7 @@ OPTIONS+= MYSQL40 "Use MySQL 4.0.x as back-end" off
|
||||||
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off
|
OPTIONS+= MYSQL41 "Use MySQL 4.1.x as back-end" off
|
||||||
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off
|
OPTIONS+= MYSQL50 "Use MySQL 5.0.x as back-end" off
|
||||||
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
|
OPTIONS+= MYSQL_COMPRESS "Compress dspam <--> MySQL" off
|
||||||
OPTIONS+= POSTGRESQL73 "Use PostgreSQL v.7.3 as back-end" off
|
OPTIONS+= POSTGRESQL "Use PostgreSQL as back-end" off
|
||||||
OPTIONS+= POSTGRESQL74 "Use PostgreSQL v.7.4 as back-end" off
|
|
||||||
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off
|
OPTIONS+= ORACLE "Use Oracle as back-end (BROKEN)" off
|
||||||
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off
|
OPTIONS+= BDB4 "Use BDB4 as back-end (not recomanded)" off
|
||||||
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" on
|
OPTIONS+= SQLITE2 "Use SQLite v2.x as back-end" on
|
||||||
|
@ -221,9 +220,8 @@ CONFIGURE_ARGS+= --enable-client-compression
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL73)
|
.if defined(WITH_POSTGRESQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql73
|
USE_PGSQL= yes
|
||||||
#BUILD_DEPENDS= ${LIB_DEPENDS}
|
|
||||||
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
||||||
--with-pgsql-includes=${LOCALBASE}/include \
|
--with-pgsql-includes=${LOCALBASE}/include \
|
||||||
--with-pgsql-libraries=${LOCALBASE}/lib
|
--with-pgsql-libraries=${LOCALBASE}/lib
|
||||||
|
@ -234,24 +232,7 @@ PLIST_SUB+= SQLITE="@comment "
|
||||||
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
||||||
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
||||||
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
||||||
#PKGNAMESUFFIX= -pgsql73
|
#PKGNAMESUFFIX= -pgsql
|
||||||
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL74)
|
|
||||||
LIB_DEPENDS+= ecpg.4:${PORTSDIR}/databases/postgresql7
|
|
||||||
#BUILD_DEPENDS= ${LIB_DEPENDS}
|
|
||||||
CONFIGURE_ARGS+= --with-storage-driver=pgsql_drv \
|
|
||||||
--with-pgsql-includes=${LOCALBASE}/include \
|
|
||||||
--with-pgsql-libraries=${LOCALBASE}/lib
|
|
||||||
PLIST_SUB+= DB4="@comment "
|
|
||||||
PLIST_SUB+= MYSQL="@comment "
|
|
||||||
PLIST_SUB+= PGSQL=""
|
|
||||||
PLIST_SUB+= SQLITE="@comment "
|
|
||||||
SED_SCRIPT+= -e '/%%MYSQL%%/D'
|
|
||||||
SED_SCRIPT+= -e 's,%%PGSQL%%,,g'
|
|
||||||
SED_SCRIPT+= -e '/%%SQLITE%%/D'
|
|
||||||
#PKGNAMESUFFIX= -pgsql74
|
|
||||||
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
DBDRV_COUNT:= ${DBDRV_COUNT:S/o//}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -329,10 +310,7 @@ LDA_COUNT:= ${LDA_COUNT:S/o//}
|
||||||
.if defined(WITH_EXIM_LDA)
|
.if defined(WITH_EXIM_LDA)
|
||||||
. if defined(WITH_MYSQL40) || (WITH_MYSQL41)
|
. if defined(WITH_MYSQL40) || (WITH_MYSQL41)
|
||||||
_EXIM_EXT= -mysql
|
_EXIM_EXT= -mysql
|
||||||
. elseif defined(WITH_POSTGRESQL74) || defined(WITH_POSTGRESQL73)
|
. elseif defined(WITH_POSTGRESQL)
|
||||||
####
|
|
||||||
### fix me for pg 7.3: how to pass the db option to exim port ?
|
|
||||||
###
|
|
||||||
_EXIM_EXT= -postgresql
|
_EXIM_EXT= -postgresql
|
||||||
. endif
|
. endif
|
||||||
RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT}
|
RUN_DEPENDS+= exim:${PORTSDIR}/mail/exim${_EXIM_EXT}
|
||||||
|
@ -433,17 +411,6 @@ post-fetch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-extract:
|
pre-extract:
|
||||||
.if defined(WITH_EXIM_LDA) && defined(WITH_POSTGRESQL73)
|
|
||||||
@${ECHO_CMD} "******************************************************************"
|
|
||||||
@${ECHO_CMD} "You have both EXIM_LDA and POSTGRESQL73 defined. To have exim"
|
|
||||||
@${ECHO_CMD} "built with the right pgsql please hit Ctrl-C now and do:"
|
|
||||||
@${ECHO_CMD} "cd ${PORTSDIR}/mail/exim-postgresql && make POSTGRESQL_PORT=postgresql73 install"
|
|
||||||
@${ECHO_CMD} "then return here and do:"
|
|
||||||
@${ECHO_CMD} "make clean && make install"
|
|
||||||
@${ECHO_CMD} "******************************************************************"
|
|
||||||
@${ECHO_CMD} ""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
@${ECHO_CMD} "Define vars below before make-ing if you need:"
|
@${ECHO_CMD} "Define vars below before make-ing if you need:"
|
||||||
@${ECHO_CMD} ""
|
@${ECHO_CMD} ""
|
||||||
@${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)"
|
@${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)"
|
||||||
|
@ -512,17 +479,17 @@ pre-configure:
|
||||||
@${ECHO_CMD} "You can use one and only one database back-end at once."
|
@${ECHO_CMD} "You can use one and only one database back-end at once."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_NEURAL_NET) && !(defined(HAVE_MYSQL) || defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74))
|
.if defined(WITH_NEURAL_NET) && !(defined(HAVE_MYSQL) || defined(WITH_POSTGRESQL))
|
||||||
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
|
@${ECHO_CMD} "You need MySQL or POSTGRESQL to use neural networking."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \
|
.if defined(WITH_VIRT_USERS) && !(defined(USE_MYSQL) || \
|
||||||
defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) || defined(WITH_ORACLE))
|
defined(WITH_POSTGRESQL) || defined(WITH_ORACLE))
|
||||||
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users."
|
@${ECHO_CMD} "You need MySQL, POSTGRESQL or ORACLE for virtual users."
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \
|
.if defined(WITH_PREF_EXT) && !( defined(USE_MYSQL) || \
|
||||||
defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74) )
|
defined(WITH_POSTGRESQL) )
|
||||||
@${ECHO_CMD} "You need MySQL or Postgres for preferences extension"
|
@${ECHO_CMD} "You need MySQL or Postgres for preferences extension"
|
||||||
@${FALSE}
|
@${FALSE}
|
||||||
.endif
|
.endif
|
||||||
|
@ -549,7 +516,7 @@ post-install:
|
||||||
@${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql
|
@${INSTALL_DATA} ${FILESDIR}/2x_to_3x_db.sql ${EXAMPLESDIR}/mysql
|
||||||
@${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql
|
@${INSTALL_DATA} ${FILESDIR}/310_to_320.my.sql ${EXAMPLESDIR}/mysql
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_POSTGRESQL73) || defined(WITH_POSTGRESQL74)
|
.if defined(WITH_POSTGRESQL)
|
||||||
@${MKDIR} ${EXAMPLESDIR}/pgsql
|
@${MKDIR} ${EXAMPLESDIR}/pgsql
|
||||||
@cd ${WRKSRC}/tools.pgsql_drv && \
|
@cd ${WRKSRC}/tools.pgsql_drv && \
|
||||||
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/pgsql
|
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/pgsql
|
||||||
|
|
|
@ -420,14 +420,8 @@ IGNORE= WITH_RADIUS_TYPE must be either RADLIB or RADIUSCLIENT
|
||||||
SEDLIST+= -e 's,XX_RADIUS_LIBS_XX,,'
|
SEDLIST+= -e 's,XX_RADIUS_LIBS_XX,,'
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL_PORT) && ${WITH_POSTGRESQL_PORT:L} != "auto"
|
|
||||||
POSTGRESQL_PORT= ${WITH_POSTGRESQL_PORT}
|
|
||||||
.else
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
USE_PGSQL= yes
|
||||||
SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${LOCALBASE}/lib -lpq,' \
|
SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${LOCALBASE}/lib -lpq,' \
|
||||||
-e 's,XX_PGSQL_INCLUDE_XX,-I${LOCALBASE}/include/pgsql,' \
|
-e 's,XX_PGSQL_INCLUDE_XX,-I${LOCALBASE}/include/pgsql,' \
|
||||||
-e 's,^\# (LOOKUP_PGSQL=),\1,'
|
-e 's,^\# (LOOKUP_PGSQL=),\1,'
|
||||||
|
|
|
@ -40,8 +40,7 @@ EXTRACT_INCLUDE+= -I${LOCALBASE}/include/mysql
|
||||||
EXTRACT_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lm
|
EXTRACT_LIB+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lm
|
||||||
.elif defined(WITH_POSTGRESQL)
|
.elif defined(WITH_POSTGRESQL)
|
||||||
ALL_TARGET= pgsql it ${LANGUAGE}
|
ALL_TARGET= pgsql it ${LANGUAGE}
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
EXTRACT_INCLUDE+= -I${LOCALBASE}/include
|
EXTRACT_INCLUDE+= -I${LOCALBASE}/include
|
||||||
EXTRACT_LIB+= -L${LOCALBASE}/lib -lpq -lcrypt
|
EXTRACT_LIB+= -L${LOCALBASE}/lib -lpq -lcrypt
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -111,7 +111,7 @@ PLIST_SUB+= MYSQL="@comment "
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
CONFIGURE_ARGS+= --enable-pg
|
CONFIGURE_ARGS+= --enable-pg
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
USE_PGSQL= yes
|
||||||
PLIST_SUB+= PGSQL=""
|
PLIST_SUB+= PGSQL=""
|
||||||
MAN8+= perditiondb_postgresql_makedb.8
|
MAN8+= perditiondb_postgresql_makedb.8
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -66,8 +66,8 @@ MAN8= teapop.8
|
||||||
##
|
##
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
|
USE_PGSQL= YES
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_MYSQL)
|
.if defined(WITH_MYSQL)
|
||||||
|
|
|
@ -64,8 +64,8 @@ MAN8= teapop.8
|
||||||
##
|
##
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
|
USE_PGSQL= YES
|
||||||
CONFIGURE_ARGS+= --with-pgsql
|
CONFIGURE_ARGS+= --with-pgsql
|
||||||
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_MYSQL)
|
.if defined(WITH_MYSQL)
|
||||||
|
|
|
@ -160,8 +160,7 @@ WITH_PGSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --enable-auth-module=pgsql
|
CONFIGURE_ARGS+= --enable-auth-module=pgsql
|
||||||
|
|
||||||
.if defined(WITH_PGSQL_LOG)
|
.if defined(WITH_PGSQL_LOG)
|
||||||
|
|
|
@ -161,8 +161,7 @@ WITH_PGSQL= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_PGSQL)
|
.if defined(WITH_PGSQL)
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
USE_PGSQL= yes
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
CONFIGURE_ARGS+= --enable-auth-module=pgsql
|
CONFIGURE_ARGS+= --enable-auth-module=pgsql
|
||||||
|
|
||||||
.if defined(WITH_PGSQL_LOG)
|
.if defined(WITH_PGSQL_LOG)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue