aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2010-05-21 13:03:26 +0800
committerknu <knu@FreeBSD.org>2010-05-21 13:03:26 +0800
commit288d060181fcad81cfc691aff31294127b76e305 (patch)
treeaafa9b5f628f7e67ca5b0b1a330163f8811a0cdf /databases
parent2199c7775d63b25be4f4e0667053e336903c26db (diff)
downloadfreebsd-ports-gnome-288d060181fcad81cfc691aff31294127b76e305.tar.gz
freebsd-ports-gnome-288d060181fcad81cfc691aff31294127b76e305.tar.zst
freebsd-ports-gnome-288d060181fcad81cfc691aff31294127b76e305.zip
Update to 2.8.2.
Eliminate pkg-plist by using PLIST_FILES and PORTDOCS.
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-mysql/Makefile23
-rw-r--r--databases/ruby-mysql/distinfo6
-rw-r--r--databases/ruby-mysql/pkg-plist8
3 files changed, 19 insertions, 18 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile
index c385972dffe3..3fe029cd2112 100644
--- a/databases/ruby-mysql/Makefile
+++ b/databases/ruby-mysql/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mysql
-PORTVERSION= 2.8.1
+PORTVERSION= 2.8.2
CATEGORIES= databases ruby
MASTER_SITES= RF/mysql-ruby \
http://www.tmtm.org/downloads/mysql/ruby/
@@ -24,13 +24,22 @@ USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-mysql-config
INSTALL_TARGET= site-install
+PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/mysql.so
+
+.include <bsd.port.pre.mk>
+
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${RUBY_MODDOCDIR}
+PORTDOCS= *
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
- ${INSTALL_DATA} ${WRKSRC}/README.html ${RUBY_MODDOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/tommy.css ${RUBY_MODDOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/README_ja.html ${RUBY_MODDOCDIR}/ja/
- ${LN} -fs ../tommy.css ${RUBY_MODDOCDIR}/ja/
+ ${MKDIR} ${DOCSDIR}/ja
+ ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/tommy.css ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/README_ja.html ${DOCSDIR}/ja/
+ ${LN} -fs ../tommy.css ${DOCSDIR}/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/ruby-mysql/distinfo b/databases/ruby-mysql/distinfo
index 34bb7e8d5578..f203c91441e2 100644
--- a/databases/ruby-mysql/distinfo
+++ b/databases/ruby-mysql/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/mysql-ruby-2.8.1.tar.gz) = 83b068619f6e9cfb5778125673462f09
-SHA256 (ruby/mysql-ruby-2.8.1.tar.gz) = 8218329ddc169277d00983c178ab53b945d60672062bd1a5e9e5312b6d7132f0
-SIZE (ruby/mysql-ruby-2.8.1.tar.gz) = 34662
+MD5 (ruby/mysql-ruby-2.8.2.tar.gz) = eb998b89b7e391cffe0a1f84bd426f9b
+SHA256 (ruby/mysql-ruby-2.8.2.tar.gz) = 5474a619d7631e67088d481193f69199e28284a5d23f75a8f00de776d91f8a5c
+SIZE (ruby/mysql-ruby-2.8.2.tar.gz) = 32710
diff --git a/databases/ruby-mysql/pkg-plist b/databases/ruby-mysql/pkg-plist
deleted file mode 100644
index e84b95c88db8..000000000000
--- a/databases/ruby-mysql/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%RUBY_SITEARCHLIBDIR%%/mysql.so
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/tommy.css
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README_ja.html
-%%PORTDOCS%%@exec /bin/ln -fs ../tommy.css %D/%%RUBY_MODDOCDIR%%/ja/
-%%PORTDOCS%%@unexec /bin/rm -f %D/%%RUBY_MODDOCDIR%%/ja/tommy.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%