diff options
author | taca <taca> | 2004-11-27 15:50:33 +0000 |
---|---|---|
committer | taca <taca> | 2004-11-27 15:50:33 +0000 |
commit | 7a9193dc74a1e54ae1a9c42d2e419ec22fea2e1c (patch) | |
tree | bbc232b9fdbc06f82d55f8f89fe03459624bd5a3 /databases/ruby-vapor/Makefile | |
parent | ef1452a24767c50084a31c4ba2b26f5eaab9a547 (diff) | |
download | pkgsrc-7a9193dc74a1e54ae1a9c42d2e419ec22fea2e1c.tar.gz |
Update ruby-vapor package to 0.81 migrating to use new framework.
Version 0.81 (tagged 22 Nov 2003, revision 279)
Bug Fixes:
* correct mistake in Usage Example, operator for wildcard searching
is ~, not =
* raise proper errors on various methods of Persistable when no
PersistenceManager is available, instead of NoMethodError
Version 0.80 (tagged 19 Nov 2003, revision 275)
Features:
* transaction logging, record information about time, committer and log
message as well as list of objects modified per transaction
* basic versioning support, retrieval of historic object states
* vaporadmin: removal of classes and all their instances using the "remove" command
* vaporadmin: modification of class' metadata using the "update" command
* new operator (~) for wildcard searches on Strings
Bug Fixes:
* allow SQL keywords as names of persistent attributes
* fix bug where camelCase variables would not be correctly set on object loading
* correctly transfer newly persistent objects back to transient state during
rollback(). This bug caused incomprehensible ObjectDeletedErrors when manually
or automatically rolling back.
* check REXML::Version instead of REXML::VERSION_MAJOR, which does not exist
in the REXML version that is included in Ruby 1.8
* minimize number of warnings issued when using `ruby -w', including those
from Ruby 1.8.x, that are issued regardless of -w
Incompatible Repository Changes: (Repository needs to be recreated from scratch)
* repository schema version 3
* add fields and tables for versioning
Diffstat (limited to 'databases/ruby-vapor/Makefile')
-rw-r--r-- | databases/ruby-vapor/Makefile | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/databases/ruby-vapor/Makefile b/databases/ruby-vapor/Makefile index a61e8e9822e..3af443a2201 100644 --- a/databases/ruby-vapor/Makefile +++ b/databases/ruby-vapor/Makefile @@ -1,27 +1,35 @@ -# $NetBSD: Makefile,v 1.5 2004/07/24 22:45:15 recht Exp $ +# $NetBSD: Makefile,v 1.6 2004/11/27 15:50:33 taca Exp $ -DISTNAME= vapor-0.7.0 -PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} -CATEGORIES= databases ruby -MASTER_SITES= http://rubyforge.org/download.php/7/ +DISTNAME= vapor-0.81 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= databases ruby +MASTER_SITES= http://rubyforge.org/frs/download.php/215/ -MAINTAINER= rasputin@idoru.mine.nu -HOMEPAGE= http://vapor.rubyforge.org/ -COMMENT= Ruby transparent persistence to postgresql +MAINTAINER= rasputin@idoru.mine.nu +HOMEPAGE= http://vapor.rubyforge.org/ +COMMENT= Ruby transparent persistence to postgresql -DEPENDS+= ruby-DBD-postgresql>=0.0.20:../ruby-DBD-postgresql -DEPENDS+= ruby-rexml>=2.4.0:../../textproc/ruby-rexml -DEPENDS+= ruby-racc>=1.4.3:../../devel/ruby-racc +.include "../../lang/ruby/rubyversion.mk" -WRKSRC= ${WRKDIR}/vapor-0.70 -USE_BUILDLINK3= yes -USE_RUBY_SETUP= yes +DEPENDS+= ${RUBY_PKGPREFIX}-DBD-postgresql>=0.0.20:../ruby-DBD-postgresql +.if ${RUBY_VER} == 16 +DEPENDS+= ${RUBY_PKGPREFIX}-rexml>=2.4.0:../../textproc/ruby-rexml +DEPENDS+= ${RUBY_PKGPREFIX}-racc>=1.4.3:../../devel/ruby-racc +.endif + +USE_BUILDLINK3= yes +USE_RUBY_SETUP= yes RUBY_SETUP= install.rb +REPLACE_RUBY= doc/examples/university/createperson \ + doc/examples/university/createuni \ + doc/examples/university/employment \ + doc/examples/university/enroll post-install: - ${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/vapor + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/vapor + ${CP} -r ${WRKSRC}/doc/* ${RUBY_DOCDIR}/vapor ${LN} -s ${RUBY_DOCDIR}/vapor/examples ${RUBY_EXAMPLESDIR}/vapor -.include "../../lang/ruby-base/Makefile.common" +.include "../../lang/ruby/modules.mk" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |