diff options
author | knu <knu@FreeBSD.org> | 2000-09-06 22:54:59 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-06 22:54:59 +0000 |
commit | c9928ceaaebf93ae6ec4fba9266177b82dce74fa (patch) | |
tree | acc064775cd7e8b2860bd21bc499967abb715e19 /databases/ruby-gdbm | |
parent | b259cffcab29381abb7394604e99a6fb45f2c358 (diff) | |
download | FreeBSD-ports-c9928ceaaebf93ae6ec4fba9266177b82dce74fa.zip FreeBSD-ports-c9928ceaaebf93ae6ec4fba9266177b82dce74fa.tar.gz |
Update to 1.6.0-preview3.
Utilize bsd.ruby.mk.
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r-- | databases/ruby-gdbm/Makefile | 31 | ||||
-rw-r--r-- | databases/ruby-gdbm/pkg-plist | 2 |
2 files changed, 11 insertions, 22 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile index 0399317..6f6901f 100644 --- a/databases/ruby-gdbm/Makefile +++ b/databases/ruby-gdbm/Makefile @@ -6,37 +6,26 @@ # PORTNAME= gdbm -PORTVERSION= 1.4.6 +PORTVERSION= ${RUBY_VERSION}.p3 CATEGORIES= databases ruby MASTER_SITES= ${MASTER_SITE_RUBY} -MASTER_SITE_SUBDIR= 1.4 -PKGNAMEPREFIX= ruby- -DISTNAME= ruby-${PORTVERSION} +MASTER_SITE_SUBDIR= # ${RUBY_VER} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby-${PORTVERSION:S/.p/-preview/} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm -RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby -WRKSRC= ${WRKDIR}/${DISTNAME}/ext/gdbm -CONFIGURE_ARGS= --with-opt-dir="${PREFIX}" +USE_RUBY= yes +USE_RUBY_EXTCONF= yes -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" - -RUBY_VER?= 1.4 -RUBY_ARCH?= ${ARCH}-freebsd${OSREL} -RUBY?= ${LOCALBASE}/bin/ruby - -DOCDIR= ${PREFIX}/share/doc/ruby -EXAMPLESDIR= ${PREFIX}/share/examples/ruby - -do-configure: - cd ${WRKSRC}; \ - ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS} +WRKSRC= ${WRKDIR}/ruby-${PORTVERSION:R}/ext/gdbm post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.ruby.mk" +.include <bsd.port.post.mk> diff --git a/databases/ruby-gdbm/pkg-plist b/databases/ruby-gdbm/pkg-plist index 3701c98..a13ffc2 100644 --- a/databases/ruby-gdbm/pkg-plist +++ b/databases/ruby-gdbm/pkg-plist @@ -1 +1 @@ -lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gdbm.so +%%RUBY_ARCHLIBDIR%%/gdbm.so |