diff options
author | fjoe <fjoe@FreeBSD.org> | 2001-10-23 02:31:08 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2001-10-23 02:31:08 +0800 |
commit | af3297a496506d4981c7b090f33f569dcf2944bd (patch) | |
tree | f5ba64633159e86793d0724e118ca63bedd6f93a /databases | |
parent | ada8a2240274a02537b6d6c40211969f23901cc3 (diff) | |
download | freebsd-ports-gnome-af3297a496506d4981c7b090f33f569dcf2944bd.tar.gz freebsd-ports-gnome-af3297a496506d4981c7b090f33f569dcf2944bd.tar.zst freebsd-ports-gnome-af3297a496506d4981c7b090f33f569dcf2944bd.zip |
libudbc: Openlink UDBC SDK
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libudbc/Makefile | 57 | ||||
-rw-r--r-- | databases/libudbc/distinfo | 1 | ||||
-rw-r--r-- | databases/libudbc/files/patch-aa | 11 | ||||
-rw-r--r-- | databases/libudbc/files/patch-ab | 11 | ||||
-rw-r--r-- | databases/libudbc/pkg-comment | 1 | ||||
-rw-r--r-- | databases/libudbc/pkg-descr | 18 | ||||
-rw-r--r-- | databases/libudbc/pkg-message | 13 | ||||
-rw-r--r-- | databases/libudbc/pkg-plist | 21 |
8 files changed, 133 insertions, 0 deletions
diff --git a/databases/libudbc/Makefile b/databases/libudbc/Makefile new file mode 100644 index 000000000000..494be6cb0299 --- /dev/null +++ b/databases/libudbc/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: libudbc +# Date created: 22 Oct 2001 +# Whom: Eugene Grosbein <eugen@grosbein.pp.ru> +# +# $FreeBSD$ +# + +PORTNAME= libudbc +PORTVERSION= 4.1 +CATEGORIES= databases +MASTER_SITES= ftp://ftp.openlinksw.com/open41/ \ + ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/ +DISTNAME= f6kuzzzz +EXTRACT_SUFX= .taz + +MAINTAINER= eugen@grosbein.pp.ru + +NO_WRKSUBDIR= yes +NO_BUILD= yes +INSTALLS_SHLIB= yes +ONLY_FOR_ARCHS= i386 + +do-install: + @${INSTALL_PROGRAM} ${WRKDIR}/udbcsdk/examples/udbctest ${PREFIX}/bin + @${MKDIR} ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/libudbc.h ${PREFIX}/include + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcext.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcimpl.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcodb3.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcodbc.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcprto.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcsag.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbctype.h ${PREFIX}/include/udbc + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/lib/libudbc.a ${PREFIX}/lib + @${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.la ${PREFIX}/lib + @${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.so ${PREFIX}/lib + @${LN} -f ${PREFIX}/lib/libudbc.so ${PREFIX}/lib/libudbc.so.3 +.if !defined(NOPORTSDOC) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.doc ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.ini ${PREFIX}/share/doc/${PORTNAME}/udbc.ini.sample + @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/Makefile ${PREFIX}/share/examples/${PORTNAME}/Makefile + @${PERL} -pi -e "s,../,${PREFIX}/," ${PREFIX}/share/examples/${PORTNAME}/Makefile + @${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/udbctest.c ${PREFIX}/share/examples/${PORTNAME} + +post-install: + @${CAT} pkg-message | ${SED} "s'PREFIX'${PREFIX}'" +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400000 +BROKEN= "Systems prior to 4.x are not supported" +.endif + +.include <bsd.port.post.mk> diff --git a/databases/libudbc/distinfo b/databases/libudbc/distinfo new file mode 100644 index 000000000000..f732131b4724 --- /dev/null +++ b/databases/libudbc/distinfo @@ -0,0 +1 @@ +MD5 (f6kuzzzz.taz) = 458d4bfd017c8c779c2e91754ad9b8d4 diff --git a/databases/libudbc/files/patch-aa b/databases/libudbc/files/patch-aa new file mode 100644 index 000000000000..a0e3eaa14fc1 --- /dev/null +++ b/databases/libudbc/files/patch-aa @@ -0,0 +1,11 @@ +--- udbcsdk/examples/Makefile.orig Mon Oct 22 23:25:13 2001 ++++ udbcsdk/examples/Makefile Mon Oct 22 23:25:43 2001 +@@ -24,7 +24,7 @@ + ###################################################################### + + ## Generic ###################################################### +-CFLAGS = -O -I../include ++CFLAGS += -O -I../include + + ## HP/UX ###################################################### + #CFLAGS = -O -Aa +ESlit -I../include diff --git a/databases/libudbc/files/patch-ab b/databases/libudbc/files/patch-ab new file mode 100644 index 000000000000..5a5db5038b3f --- /dev/null +++ b/databases/libudbc/files/patch-ab @@ -0,0 +1,11 @@ +--- udbcsdk/examples/udbctest.c.orig Mon Oct 22 23:38:29 2001 ++++ udbcsdk/examples/udbctest.c Mon Oct 22 23:38:37 2001 +@@ -19,7 +19,7 @@ + + #include <stdio.h> + #include <string.h> +-#include "libudbc.h" ++#include <libudbc.h> + + #define MAXCOLS 32 + diff --git a/databases/libudbc/pkg-comment b/databases/libudbc/pkg-comment new file mode 100644 index 000000000000..88aaa10db39c --- /dev/null +++ b/databases/libudbc/pkg-comment @@ -0,0 +1 @@ +Openlink UDBC SDK diff --git a/databases/libudbc/pkg-descr b/databases/libudbc/pkg-descr new file mode 100644 index 000000000000..295a474c56a3 --- /dev/null +++ b/databases/libudbc/pkg-descr @@ -0,0 +1,18 @@ + From udbc.doc: + + WHAT IS UDBC? + + UDBC is OpenLink's acronym for Universal DataBase Connectivity. + + In short, UDBC is the merge between the X/Open - SAG interface and + the Microsoft ODBC interface for client database applications. + + UDBC was developped to enable software engineers to rapidly develop + database independent applications without being concerned about issues + like portability, network programming and database specific interfacing + problems. + +WWW: http://www.openlinksw.com/ + +- Grosbein +eugen@grosbein.pp.ru diff --git a/databases/libudbc/pkg-message b/databases/libudbc/pkg-message new file mode 100644 index 000000000000..6b5dcf36b782 --- /dev/null +++ b/databases/libudbc/pkg-message @@ -0,0 +1,13 @@ + +/**************************************************************** +You may want to install udbc.ini to /etc/udbc.ini or ~/.udbc.ini. +You will find well commented sample of udbc.ini installed as +PREFIX/share/doc/libudbc/udbc.ini.sample + +A sample application using libudbc is also installed as +PREFIX/share/examples/libudbc/udbctest.c + +Ready-to-work binary of udbctest is installed to +PREFIX/bin +****************************************************************/ + diff --git a/databases/libudbc/pkg-plist b/databases/libudbc/pkg-plist new file mode 100644 index 000000000000..3fe9b2b4e34a --- /dev/null +++ b/databases/libudbc/pkg-plist @@ -0,0 +1,21 @@ +bin/udbctest +include/libudbc.h +include/udbc/udbcext.h +include/udbc/udbcimpl.h +include/udbc/udbcodb3.h +include/udbc/udbcodbc.h +include/udbc/udbcprto.h +include/udbc/udbcsag.h +include/udbc/udbctype.h +lib/libudbc.a +lib/libudbc.la +lib/libudbc.so +@exec ln %D/lib/libudbc.so %D/lib/libudbc.so.3 +@unexec rm %D/lib/libudbc.so.3 +share/doc/libudbc/udbc.doc +share/doc/libudbc/udbc.ini.sample +share/examples/libudbc/Makefile +share/examples/libudbc/udbctest.c +@dirrm include/udbc +@dirrm share/doc/libudbc +@dirrm share/examples/libudbc |