[Midnightbsd-cvs] mports [16064] trunk/databases/postgresql92-contrib: add contrib port for postgres

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 16 20:56:52 EDT 2014


Revision: 16064
          http://svnweb.midnightbsd.org/mports/?rev=16064
Author:   laffer1
Date:     2014-03-16 20:56:52 -0400 (Sun, 16 Mar 2014)
Log Message:
-----------
add contrib port for postgres

Added Paths:
-----------
    trunk/databases/postgresql92-contrib/
    trunk/databases/postgresql92-contrib/Makefile
    trunk/databases/postgresql92-contrib/pkg-descr

Added: trunk/databases/postgresql92-contrib/Makefile
===================================================================
--- trunk/databases/postgresql92-contrib/Makefile	                        (rev 0)
+++ trunk/databases/postgresql92-contrib/Makefile	2014-03-17 00:56:52 UTC (rev 16064)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+
+PORTNAME=	postgresql
+CATEGORIES=	databases
+PKGNAMESUFFIX?=	${DISTVERSION:R:S/.//}${COMPONENT}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	The contrib utilities from the PostgreSQL distribution
+
+LIB_DEPENDS=	libxslt.so:${PORTSDIR}/textproc/libxslt \
+		libxml2.so:${PORTSDIR}/textproc/libxml2
+
+USE_PGSQL=	yes
+DEFAULT_PGSQL_VER=92
+MASTERDIR=	${.CURDIR}/../postgresql${DEFAULT_PGSQL_VER}-server
+
+USES=		bison
+
+BUILD_DIRS=	src/port contrib
+INSTALL_DIRS=	contrib
+
+SLAVE_ONLY=	yes
+COMPONENT=	-contrib
+CONFIGURE_ARGS+=--with-libxslt --with-libxml --with-openssl
+LDFLAGS+=	${PTHREAD_LIBS} -L${PREFIX}/lib
+
+OPTIONS_DEFINE=	OSSP_UUID
+OSSP_UUID_DESC=	Enable / disable ossp-uuid support
+OPTIONS_DEFAULT=	OSSP_UUID
+
+post-install:
+	@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
+
+.include "${MASTERDIR}/Makefile"

Added: trunk/databases/postgresql92-contrib/pkg-descr
===================================================================
--- trunk/databases/postgresql92-contrib/pkg-descr	                        (rev 0)
+++ trunk/databases/postgresql92-contrib/pkg-descr	2014-03-17 00:56:52 UTC (rev 16064)
@@ -0,0 +1,23 @@
+This is the port for all stuff that comes in the contrib subtree of
+the postgresql distribution. This subtree contains porting tools,
+analysis utilities, and plug-in features that are not part of the core
+PostgreSQL system, mainly because they address a limited audience or
+are too experimental to be part of the main source tree.  This does
+not preclude their usefulness.
+
+Each subdirectory contains a README file with information about the
+module. Some directories supply new user-defined functions, operators,
+or types.  After you have installed the files you need to register the
+new entities in the database system by running the commands in the
+supplied .sql file.  For example,
+
+        $ psql -d dbname -f module.sql
+
+The .sql files are installed into /usr/local/share/postgresql/contrib
+
+For more information, please see
+/usr/local/share/doc/postgresql/contrib/README*
+
+This software is part of the standard PostgreSQL distribution.
+
+WWW: http://www.postgresql.org/



More information about the Midnightbsd-cvs mailing list