[Midnightbsd-cvs] mports [24456] trunk/databases: add missing port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Oct 12 01:00:08 EDT 2018
Revision: 24456
http://svnweb.midnightbsd.org/mports/?rev=24456
Author: laffer1
Date: 2018-10-12 00:59:39 -0400 (Fri, 12 Oct 2018)
Log Message:
-----------
add missing port
Modified Paths:
--------------
trunk/databases/Makefile
trunk/databases/postgresql10-server/Makefile
Added Paths:
-----------
trunk/databases/pgtcl/
trunk/databases/pgtcl/Makefile
trunk/databases/pgtcl/distinfo
trunk/databases/pgtcl/files/
trunk/databases/pgtcl/files/patch-configure
trunk/databases/pgtcl/pkg-descr
Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile 2018-10-11 00:32:02 UTC (rev 24455)
+++ trunk/databases/Makefile 2018-10-12 04:59:39 UTC (rev 24456)
@@ -70,6 +70,7 @@
SUBDIR += pecl-memcache
SUBDIR += percona55-client
SUBDIR += percona55-server
+SUBDIR += pgtcl
SUBDIR += php56-dba
SUBDIR += php56-mssql
SUBDIR += php56-mysql
Added: trunk/databases/pgtcl/Makefile
===================================================================
--- trunk/databases/pgtcl/Makefile (rev 0)
+++ trunk/databases/pgtcl/Makefile 2018-10-12 04:59:39 UTC (rev 24456)
@@ -0,0 +1,58 @@
+# $MidnightBSD$
+
+PORTNAME= pgtcl
+PORTVERSION= 2.1.1
+CATEGORIES= databases tcl
+MASTER_SITES= SF/pgtclng/pgtclng/${PORTVERSION}
+DISTNAME= ${PORTNAME}${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= ports at MidnightBSD
+COMMENT= TCL extension for accessing a PostgreSQL server (PGTCL-NG)
+
+LICENSE= other
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
+OPTIONS_DEFINE= DOCS
+
+.if defined(PGTCL_SLAVE)
+USES= pgsql:${PGTCL_SLAVE}
+.else
+USES= pgsql
+.endif
+
+USES+= tcl:tea
+LIBDIR= ${PREFIX}/lib/${PORTNAME}
+USE_LDCONFIG= ${LIBDIR}
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
+MANUALREL= 20171113
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+DISTFILES+= pgtcldocs-${MANUALREL}.zip:doc
+MASTER_SITES+= SF/pgtclng/Manual/${MANUALREL}:doc
+.endif
+
+PLIST_FILES= lib/pgtcl/libpgtcl${PORTVERSION}.so \
+ lib/pgtcl/pkgIndex.tcl
+PORTDOCS= *
+
+post-configure:
+ ${REINPLACE_CMD} -e 's,tclstub,tcl,g' \
+ -e 's,-DUSE_TCL_STUBS=1,-UUSE_TCL_STUBS,g' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${LIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl \
+ ${WRKSRC}/libpgtcl${PORTVERSION}.so ${STAGEDIR}${LIBDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${TAR} -xf ${DISTDIR}/${_DISTFILES:M*.zip} -C ${STAGEDIR}${DOCSDIR} \
+ --strip-components 1 --no-same-permission --no-same-owner
+ ${CHMOD} ${SHAREMODE} ${STAGEDIR}${DOCSDIR}/*
+.endif
+
+.include <bsd.port.mk>
Property changes on: trunk/databases/pgtcl/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/pgtcl/distinfo
===================================================================
--- trunk/databases/pgtcl/distinfo (rev 0)
+++ trunk/databases/pgtcl/distinfo 2018-10-12 04:59:39 UTC (rev 24456)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1515323017
+SHA256 (pgtcl2.1.1.tar.gz) = 1925d7cf9422f0213da725bbe245e065ab570b478881577c87ae714e18078208
+SIZE (pgtcl2.1.1.tar.gz) = 196432
+SHA256 (pgtcldocs-20171113.zip) = af61f95881b09ae552cf33358727250e99f0f5886c0b7051d369d3a8484e549f
+SIZE (pgtcldocs-20171113.zip) = 164113
Property changes on: trunk/databases/pgtcl/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/pgtcl/files/patch-configure
===================================================================
--- trunk/databases/pgtcl/files/patch-configure (rev 0)
+++ trunk/databases/pgtcl/files/patch-configure 2018-10-12 04:59:39 UTC (rev 24456)
@@ -0,0 +1,23 @@
+--- configure.orig 2014-09-12 22:03:04 UTC
++++ configure
+@@ -4261,20 +4261,7 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confde
+ esac
+
+ if test "${TEA_PLATFORM}" = "unix" ; then
+-
+- #--------------------------------------------------------------------
+- # On a few very rare systems, all of the libm.a stuff is
+- # already in libc.a. Set compiler flags accordingly.
+- # Also, Linux requires the "ieee" library for math to work
+- # right (and it must appear before "-lm").
+- #--------------------------------------------------------------------
+-
+ ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
+-if test "x$ac_cv_func_sin" = xyes; then :
+- MATH_LIBS=""
+-else
+- MATH_LIBS="-lm"
+-fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5
+ $as_echo_n "checking for main in -lieee... " >&6; }
Property changes on: trunk/databases/pgtcl/files/patch-configure
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/pgtcl/pkg-descr
===================================================================
--- trunk/databases/pgtcl/pkg-descr (rev 0)
+++ trunk/databases/pgtcl/pkg-descr 2018-10-12 04:59:39 UTC (rev 24456)
@@ -0,0 +1,5 @@
+A TCL extension for accessing PostgreSQL databases. This used
+to come bunlded with PostgreSQL itself, but was split into a
+separate project in more recent version (8+).
+
+WWW: http://sourceforge.net/projects/pgtclng/
Property changes on: trunk/databases/pgtcl/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/databases/postgresql10-server/Makefile
===================================================================
--- trunk/databases/postgresql10-server/Makefile 2018-10-11 00:32:02 UTC (rev 24455)
+++ trunk/databases/postgresql10-server/Makefile 2018-10-12 04:59:39 UTC (rev 24456)
@@ -10,7 +10,7 @@
MAINTAINER?= ports at MidnightBSD.org
COMMENT?= PostgreSQL is the most advanced open-source database available anywhere
-LICENSE= PostgreSQL
+LICENSE= other
.if ${DISTVERSION:C/([0-9]*).*/\1/} == 10
CONFLICTS+= ${PORTNAME}*-9.*
More information about the Midnightbsd-cvs
mailing list