aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-dbd_pg/Makefile31
-rw-r--r--databases/ruby-dbd_pg/distinfo3
-rw-r--r--databases/ruby-dbd_pg/pkg-plist12
3 files changed, 17 insertions, 29 deletions
diff --git a/databases/ruby-dbd_pg/Makefile b/databases/ruby-dbd_pg/Makefile
index 43efade312ac..7c4c34ac755d 100644
--- a/databases/ruby-dbd_pg/Makefile
+++ b/databases/ruby-dbd_pg/Makefile
@@ -6,40 +6,21 @@
#
PORTNAME= dbd_pg
-PORTVERSION= ${RUBY_DBI_PORTVERSION}
-PORTREVISION= 1
+PORTVERSION= 0.3.8
CATEGORIES= databases ruby
-MASTER_SITES= ${RUBY_DBI_MASTER_SITES}
-MASTER_SITE_SUBDIR= ${RUBY_DBI_MASTER_SITE_SUBDIR}
+MASTER_SITES= RF
+MASTER_SITE_SUBDIR= ruby-dbi
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ${RUBY_DBI_DISTNAME}
+DISTNAME= dbd-pg-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= PostgreSQL driver for DBI-for-Ruby
-RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} \
- ${RUBY_SITEARCHLIBDIR}/postgres.so:${.CURDIR}/../ruby-postgres
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${PORTSDIR}/databases/ruby-dbi \
+ ${RUBY_SITEARCHLIBDIR}/postgres.so:${PORTSDIR}/databases/ruby-postgres
USE_RUBY= yes
USE_RUBY_SETUP= yes
-SLAVE_PORT= yes
-MASTER_PORT= databases/ruby-dbi
-
-WRKSRC= ${RUBY_DBI_WRKSRC}
-CONFIGURE_ARGS= --with=${PORTNAME}
-
-DOCS_EN= doc/dbd/postgresql/*
-
-.include "${.CURDIR}/../ruby-dbi/Makefile.common"
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
.include <bsd.port.mk>
diff --git a/databases/ruby-dbd_pg/distinfo b/databases/ruby-dbd_pg/distinfo
new file mode 100644
index 000000000000..d57d09742299
--- /dev/null
+++ b/databases/ruby-dbd_pg/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/dbd-pg-0.3.8.tar.gz) = 7729457adadbcf7741cc252e76622a3c
+SHA256 (ruby/dbd-pg-0.3.8.tar.gz) = 720fc92be3191059de3eef85321c80b5d0978c97167ed7612aacebefed02b171
+SIZE (ruby/dbd-pg-0.3.8.tar.gz) = 64753
diff --git a/databases/ruby-dbd_pg/pkg-plist b/databases/ruby-dbd_pg/pkg-plist
index 97e7cf62d94b..01ce0d95f49f 100644
--- a/databases/ruby-dbd_pg/pkg-plist
+++ b/databases/ruby-dbd_pg/pkg-plist
@@ -1,4 +1,8 @@
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
-%%RUBY_SITELIBDIR%%/DBD/Pg/Pg.rb
-@dirrm %%RUBY_SITELIBDIR%%/DBD/Pg
+%%RUBY_SITELIBDIR%%/dbd/Pg.rb
+%%RUBY_SITELIBDIR%%/dbd/pg/database.rb
+%%RUBY_SITELIBDIR%%/dbd/pg/exec.rb
+%%RUBY_SITELIBDIR%%/dbd/pg/statement.rb
+%%RUBY_SITELIBDIR%%/dbd/pg/tuples.rb
+%%RUBY_SITELIBDIR%%/dbd/pg/type.rb
+@dirrm %%RUBY_SITELIBDIR%%/dbd/pg
+@dirrmtry %%RUBY_SITELIBDIR%%/dbd