From d71861a1a06721e0624b7cdadcd3e3adf1ba32c2 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 21 May 2010 05:03:26 +0000 Subject: [PATCH] Update to 2.8.2. Eliminate pkg-plist by using PLIST_FILES and PORTDOCS. --- databases/ruby-mysql/Makefile | 25 +++++++++++++++++-------- databases/ruby-mysql/distinfo | 6 +++--- databases/ruby-mysql/pkg-plist | 8 -------- 3 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 databases/ruby-mysql/pkg-plist 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 -post-install: +PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/mysql.so + +.include + .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/ +DOCSDIR= ${RUBY_MODDOCDIR} +PORTDOCS= * .endif -.include +post-install: +.if !defined(NOPORTDOCS) + ${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 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%%