diff options
author | knu <knu@FreeBSD.org> | 2001-06-09 22:23:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-06-09 22:23:33 +0800 |
commit | 2950959561391a595e8f20f73a6531aa1a6f01e9 (patch) | |
tree | a71842a26dc8fbaeb144ef9e7d6482fb323e64bc /databases/ruby-dbi/Makefile | |
parent | b19838b2b1718044d5eeb3b47519b5aeaedca7ef (diff) | |
download | freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.tar.gz freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.tar.zst freebsd-ports-gnome-2950959561391a595e8f20f73a6531aa1a6f01e9.zip |
Update Ruby/DBI to 0.0.5.
ruby-dbd_postgresql has been renamed to ruby-dbd_pg. (without a
repocopy since ruby-dbd_postgresql has no history)
Diffstat (limited to 'databases/ruby-dbi/Makefile')
-rw-r--r-- | databases/ruby-dbi/Makefile | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile index 46ec571dece0..474631d145d3 100644 --- a/databases/ruby-dbi/Makefile +++ b/databases/ruby-dbi/Makefile @@ -5,37 +5,41 @@ # $FreeBSD$ # -PORTNAME= dbi -PORTVERSION= 0.0.4 -PORTREVISION= 1 +PORTNAME= ${RUBY_DBI_PORTNAME} +PORTVERSION= ${RUBY_DBI_PORTVERSION} CATEGORIES= databases ruby -MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/ +MASTER_SITES= ${RUBY_DBI_MASTER_SITES} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby-${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz -DIST_SUBDIR= ruby +DISTNAME= ${RUBY_DBI_DISTNAME} +DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes +USE_RUBY_SETUP= yes -NO_WRKSUBDIR= yes +WRKSRC= ${RUBY_DBI_WRKSRC} +CONFIGURE_ARGS= --with=lib/${PORTNAME},lib/wrapper -NO_BUILD= yes +DOCS_EN= README.1st doc/* lib/${PORTNAME}/doc/* -DOCS_EN= README.1st lib/${PORTNAME}/doc/* +.include "${.CURDIR}/Makefile.common" post-extract: ${MV} ${WRKSRC}/README ${WRKSRC}/README.1st + ${RM} ${WRKSRC}/doc/create_html + ${RM} ${WRKSRC}/lib/${PORTNAME}/doc/create_html -do-install: - ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/ +post-install: ${MKDIR} ${RUBY_SITEARCHLIBDIR}/${PORTNAME} - ${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME} + ${MKDIR} ${RUBY_SITELIBDIR}/DBD + ${MKDIR} ${RUBY_SITEARCHLIBDIR}/DBD .if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ + ${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ .endfor .endif |