aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-rdbc1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ruby-rdbc1/Makefile')
-rw-r--r--databases/ruby-rdbc1/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/databases/ruby-rdbc1/Makefile b/databases/ruby-rdbc1/Makefile
new file mode 100644
index 000000000000..b7238d9e84de
--- /dev/null
+++ b/databases/ruby-rdbc1/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: RDBC1
+# Date created: 19 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rdbc1
+PORTVERSION= 001103
+CATEGORIES= databases ruby
+MASTER_SITES= http://member.nifty.ne.jp/guion/SOFT/RDBC/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/postgres.so:${.CURDIR}/../ruby-postgres
+
+USE_RUBY= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${CP} -R ${WRKSRC}/doc/en/* ${RUBY_DOCDIR}/${PORTNAME}/
+ ${CP} -R ${WRKSRC}/doc/ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endif
+
+.include <bsd.port.mk>