2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 13:23:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mysql
|
2010-05-21 07:03:26 +02:00
|
|
|
PORTVERSION= 2.8.2
|
2011-03-19 14:15:34 +01:00
|
|
|
PORTREVISION= 1
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= databases ruby
|
2009-08-24 07:28:25 +02:00
|
|
|
MASTER_SITES= RF/mysql-ruby \
|
|
|
|
http://www.tmtm.org/downloads/mysql/ruby/
|
2000-09-07 16:39:47 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-07 13:23:12 +02:00
|
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
2000-08-08 18:08:31 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 13:23:12 +02:00
|
|
|
|
2006-06-07 08:02:21 +02:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:37:40 +01:00
|
|
|
COMMENT= Ruby module for accessing MySQL databases with a C API like interface
|
2000-08-07 13:23:12 +02:00
|
|
|
|
2014-04-07 15:25:05 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2005-06-06 23:36:27 +02:00
|
|
|
USE_MYSQL= yes
|
2000-09-07 16:39:47 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-07 13:23:12 +02:00
|
|
|
|
2006-09-21 17:14:21 +02:00
|
|
|
CONFIGURE_ARGS= --with-mysql-config
|
2000-09-07 16:39:47 +02:00
|
|
|
INSTALL_TARGET= site-install
|
2014-04-07 15:23:10 +02:00
|
|
|
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
2000-08-07 13:23:12 +02:00
|
|
|
|
2010-05-21 07:03:26 +02:00
|
|
|
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/mysql.so
|
|
|
|
|
|
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2000-08-12 22:09:41 +02:00
|
|
|
post-install:
|
2014-04-07 15:23:10 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tommy.css ${STAGEDIR}${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README_ja.html ${STAGEDIR}${DOCSDIR}/ja/
|
|
|
|
${LN} -fs ../tommy.css ${STAGEDIR}${DOCSDIR}/ja/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|