aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-09 00:11:47 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-09 00:11:47 +0000
commiteac6867d0f5cab7514345bf6fd8fec0519d6dbb5 (patch)
treefaf2b5f47a992ec357f260ab1b7b2ac2904d38fd /databases
parent85d080b14b969d5719c61d57356930fd9402ea04 (diff)
downloadports-eac6867d0f5cab7514345bf6fd8fec0519d6dbb5.tar.gz
ports-eac6867d0f5cab7514345bf6fd8fec0519d6dbb5.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/rubygem-activerecord/Makefile16
-rw-r--r--databases/rubygem-datamapper/Makefile9
-rw-r--r--databases/rubygem-jdbc-mysql/Makefile8
-rw-r--r--databases/rubygem-kirbybase/Makefile11
-rw-r--r--databases/rubygem-memcache-client/Makefile2
-rw-r--r--databases/rubygem-postgres/Makefile2
-rw-r--r--databases/rubygem-rbase/Makefile9
-rw-r--r--databases/rubygem-sqlite3-ruby/Makefile11
-rw-r--r--databases/rubygem-sqlite3/Makefile11
9 files changed, 12 insertions, 67 deletions
diff --git a/databases/rubygem-activerecord/Makefile b/databases/rubygem-activerecord/Makefile
index 84c2536831d7..302ebe91f9bc 100644
--- a/databases/rubygem-activerecord/Makefile
+++ b/databases/rubygem-activerecord/Makefile
@@ -7,8 +7,7 @@
PORTNAME= activerecord
PORTVERSION= 2.2.2
CATEGORIES= databases rubygems
-MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= RF
MAINTAINER= jw@innerewut.de
COMMENT= Object-relational mapping layer for Rails MVC Framework
@@ -26,19 +25,6 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-# This target is only meant to be used by the port maintainer.
-x-generate-plist:
- (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
- | ${SED} -E \
- 's,.*share/nls/.+$$,,g \
- ;s,^${GEM_CACHE}$$,%%GEM_CACHE%%,g \
- ;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
- ;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
- ;s,^${GEM_SPEC}$$,%%GEM_SPEC%%,g \
- ;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
- ;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
- ' | ${TR} -s '\n') > temp-pkg-plist
-
.include <bsd.port.pre.mk>
.if defined(WITH_NATIVE_MYSQL)
diff --git a/databases/rubygem-datamapper/Makefile b/databases/rubygem-datamapper/Makefile
index 433f12f80a44..fd4917f9cc71 100644
--- a/databases/rubygem-datamapper/Makefile
+++ b/databases/rubygem-datamapper/Makefile
@@ -25,13 +25,6 @@ RUN_DEPENDS= rubygem-rspec>0:${PORTSDIR}/devel/rubygem-rspec \
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_RAKE= yes
-
-post-install:
- @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>
diff --git a/databases/rubygem-jdbc-mysql/Makefile b/databases/rubygem-jdbc-mysql/Makefile
index aaa849705cdf..33e323439b6a 100644
--- a/databases/rubygem-jdbc-mysql/Makefile
+++ b/databases/rubygem-jdbc-mysql/Makefile
@@ -17,12 +17,6 @@ RUN_DEPENDS= jruby:${PORTSDIR}/lang/jruby
USE_RUBY= yes
USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
-post-install:
- @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/databases/rubygem-kirbybase/Makefile b/databases/rubygem-kirbybase/Makefile
index c872ee5351e1..387796647610 100644
--- a/databases/rubygem-kirbybase/Makefile
+++ b/databases/rubygem-kirbybase/Makefile
@@ -16,14 +16,7 @@ COMMENT= A Small and Plain-text DBMS Written in Ruby
USE_RUBY= yes
USE_RUBYGEMS= yes
GEM_NAME= ${DISTNAME}
-
-post-install:
- @${ECHO} bin/kbserver.rb > ${TMPPLIST}
- @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+RUBYGEM_AUTOPLIST= yes
+PLIST_FILES= bin/kbserver.rb
.include <bsd.port.mk>
diff --git a/databases/rubygem-memcache-client/Makefile b/databases/rubygem-memcache-client/Makefile
index 993601ee7ab5..6d2c62ff547b 100644
--- a/databases/rubygem-memcache-client/Makefile
+++ b/databases/rubygem-memcache-client/Makefile
@@ -7,7 +7,7 @@
PORTNAME= memcache-client
PORTVERSION= 1.5.0
CATEGORIES= databases rubygems
-MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITES= RF
MASTER_SITE_SUBDIR= seattlerb
MAINTAINER= jw@innerewut.de
diff --git a/databases/rubygem-postgres/Makefile b/databases/rubygem-postgres/Makefile
index e28c3309767b..368f8dd749df 100644
--- a/databases/rubygem-postgres/Makefile
+++ b/databases/rubygem-postgres/Makefile
@@ -9,7 +9,7 @@ PORTNAME= postgres
PORTVERSION= 0.7.9.2008.01.28
PORTREVISION= 1
CATEGORIES= databases rubygems
-MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITES= RF
MASTER_SITE_SUBDIR= ruby-pg
MAINTAINER= dinoex@FreeBSD.org
diff --git a/databases/rubygem-rbase/Makefile b/databases/rubygem-rbase/Makefile
index 899fc1feb19d..bf139f707ceb 100644
--- a/databases/rubygem-rbase/Makefile
+++ b/databases/rubygem-rbase/Makefile
@@ -14,13 +14,6 @@ COMMENT= Library to create/read/write to XBase databases (*.DBF files)
USE_RUBY= yes
USE_RUBYGEMS= yes
-
-post-install:
- @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
+RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>
diff --git a/databases/rubygem-sqlite3-ruby/Makefile b/databases/rubygem-sqlite3-ruby/Makefile
index d113ce949763..dbb226049d9b 100644
--- a/databases/rubygem-sqlite3-ruby/Makefile
+++ b/databases/rubygem-sqlite3-ruby/Makefile
@@ -17,17 +17,10 @@ COMMENT= Ruby interface to the SQLite DB engine version 3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-GEM_NAME= ${DISTNAME}
-
USE_RUBY= yes
USE_RUBYGEMS= yes
+GEM_NAME= ${DISTNAME}
+RUBYGEM_AUTOPLIST= yes
-post-install:
- @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile
index d113ce949763..dbb226049d9b 100644
--- a/databases/rubygem-sqlite3/Makefile
+++ b/databases/rubygem-sqlite3/Makefile
@@ -17,17 +17,10 @@ COMMENT= Ruby interface to the SQLite DB engine version 3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-GEM_NAME= ${DISTNAME}
-
USE_RUBY= yes
USE_RUBYGEMS= yes
+GEM_NAME= ${DISTNAME}
+RUBYGEM_AUTOPLIST= yes
-post-install:
- @${ECHO} ${GEM_CACHE} > ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
- @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>