diff options
Diffstat (limited to 'databases/ruby-mysql/Makefile')
-rw-r--r-- | databases/ruby-mysql/Makefile | 23 |
1 files changed, 16 insertions, 7 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> |