diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-02 18:51:47 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-02 18:51:47 +0000 |
commit | 19ad98d92d5e1827980076d896b517f677d89e8e (patch) | |
tree | 0c468c1915e5180ab54596ae092ea4b2508bb22f /databases/ruby-dbd_sybase | |
parent | d09bbf84736407ffa6ac0c9995aae484bea13a1e (diff) | |
download | ports-19ad98d92d5e1827980076d896b517f677d89e8e.tar.gz ports-19ad98d92d5e1827980076d896b517f677d89e8e.zip |
Notes
Diffstat (limited to 'databases/ruby-dbd_sybase')
-rw-r--r-- | databases/ruby-dbd_sybase/Makefile | 39 | ||||
-rw-r--r-- | databases/ruby-dbd_sybase/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_sybase/files/patch-extconf.rb | 16 | ||||
-rw-r--r-- | databases/ruby-dbd_sybase/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-dbd_sybase/pkg-descr | 4 | ||||
-rw-r--r-- | databases/ruby-dbd_sybase/pkg-plist | 4 |
6 files changed, 65 insertions, 0 deletions
diff --git a/databases/ruby-dbd_sybase/Makefile b/databases/ruby-dbd_sybase/Makefile new file mode 100644 index 000000000000..2e0c60605e75 --- /dev/null +++ b/databases/ruby-dbd_sybase/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: dbd_sybase for DBD-for-Ruby +# Date created: 3 June 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= dbd_sybase +PORTVERSION= 0.0.4 +CATEGORIES= databases ruby +MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-dbi-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= tds.0:${.CURDIR}/../freetds +RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +WRKSRC= ${WRKDIR}/ext/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS_EN= doc/* + +post-install: + cd ${RUBY_SITEARCHLIBDIR} && ${MV} ${PORTNAME}.so dbi/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME} +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/databases/ruby-dbd_sybase/distinfo b/databases/ruby-dbd_sybase/distinfo new file mode 100644 index 000000000000..577d95dcd0c3 --- /dev/null +++ b/databases/ruby-dbd_sybase/distinfo @@ -0,0 +1 @@ +MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449 diff --git a/databases/ruby-dbd_sybase/files/patch-extconf.rb b/databases/ruby-dbd_sybase/files/patch-extconf.rb new file mode 100644 index 000000000000..8bc4a421da7f --- /dev/null +++ b/databases/ruby-dbd_sybase/files/patch-extconf.rb @@ -0,0 +1,16 @@ +--- extconf.rb.orig Mon Apr 23 21:31:46 2001 ++++ extconf.rb Sun Jun 3 03:44:04 2001 +@@ -1,11 +1,7 @@ + require 'mkmf' + +-# You may need to change these parameters +-FREETDSDIR = "/usr/local/freetds" +-# end of parameters ++dir_config("freetds", "/usr/local/freetds") + +-$CFLAGS = "-I#{FREETDSDIR}/include" +-$LDFLAGS = "-L#{FREETDSDIR}/lib" + $libs = "-ltds" + +-create_makefile("dbd_sybase") ++create_makefile("dbd_sybase") diff --git a/databases/ruby-dbd_sybase/pkg-comment b/databases/ruby-dbd_sybase/pkg-comment new file mode 100644 index 000000000000..31ae78f705b6 --- /dev/null +++ b/databases/ruby-dbd_sybase/pkg-comment @@ -0,0 +1 @@ +Sybase driver for DBI-for-Ruby diff --git a/databases/ruby-dbd_sybase/pkg-descr b/databases/ruby-dbd_sybase/pkg-descr new file mode 100644 index 000000000000..9fbcaf7ccce7 --- /dev/null +++ b/databases/ruby-dbd_sybase/pkg-descr @@ -0,0 +1,4 @@ +This is the Sybase driver for Rainer Perl's DBI-for-Ruby. + +Author: Rainer Perl <rainer.perl@sprytech.com> +WWW: http://www.sprytech.com/~rainer.perl/ruby/ diff --git a/databases/ruby-dbd_sybase/pkg-plist b/databases/ruby-dbd_sybase/pkg-plist new file mode 100644 index 000000000000..08a1679dbc11 --- /dev/null +++ b/databases/ruby-dbd_sybase/pkg-plist @@ -0,0 +1,4 @@ +%%RUBY_SITEARCHLIBDIR%%/dbi/dbd_sybase.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sybase/HISTORY +%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sybase/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_sybase |