forked from Lainports/freebsd-ports
libudbc: Openlink UDBC SDK
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
This commit is contained in:
parent
01b7faa25a
commit
bcfaae4672
8 changed files with 133 additions and 0 deletions
57
databases/libudbc/Makefile
Normal file
57
databases/libudbc/Makefile
Normal file
|
|
@ -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>
|
||||
1
databases/libudbc/distinfo
Normal file
1
databases/libudbc/distinfo
Normal file
|
|
@ -0,0 +1 @@
|
|||
MD5 (f6kuzzzz.taz) = 458d4bfd017c8c779c2e91754ad9b8d4
|
||||
11
databases/libudbc/files/patch-aa
Normal file
11
databases/libudbc/files/patch-aa
Normal file
|
|
@ -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
|
||||
11
databases/libudbc/files/patch-ab
Normal file
11
databases/libudbc/files/patch-ab
Normal file
|
|
@ -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
|
||||
|
||||
1
databases/libudbc/pkg-comment
Normal file
1
databases/libudbc/pkg-comment
Normal file
|
|
@ -0,0 +1 @@
|
|||
Openlink UDBC SDK
|
||||
18
databases/libudbc/pkg-descr
Normal file
18
databases/libudbc/pkg-descr
Normal file
|
|
@ -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
|
||||
13
databases/libudbc/pkg-message
Normal file
13
databases/libudbc/pkg-message
Normal file
|
|
@ -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
|
||||
****************************************************************/
|
||||
|
||||
21
databases/libudbc/pkg-plist
Normal file
21
databases/libudbc/pkg-plist
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue