diff options
Diffstat (limited to 'math/ruby-gsl/Makefile')
-rw-r--r-- | math/ruby-gsl/Makefile | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile index 601b6474cdc..2625bec26d9 100644 --- a/math/ruby-gsl/Makefile +++ b/math/ruby-gsl/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2004/10/03 00:12:57 tv Exp $ +# $NetBSD: Makefile,v 1.5 2004/11/27 16:27:45 taca Exp $ -DISTNAME= ruby-gsl-0.1.9 -PKGREVISION= 1 +DISTNAME= ruby-gsl-0.2.0 +PKGNAME= ${RUBY_PKGPREFIX}-gsl-0.2.0 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gsl/} @@ -9,25 +9,13 @@ MAINTAINER= dmcmahill@NetBSD.org HOMEPAGE= http://ruby-gsl.sourceforge.net/ COMMENT= Wrapper of the GNU Scientific Library (GSL) for Ruby -DIST_SUBDIR= ruby -WRKSRC= ${WRKDIR}/${DISTNAME}/ext -USE_RUBY_EXTCONF= yes USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install - -DOCS= README - -post-patch: - ${MV} ${WRKSRC}/Const.c ${WRKSRC}/Const.c.bak - ${SED} -e 's;CONST_MKS_;CONST_MKSA_;g' -e 's;CONST_CGS_;CONST_CGSM_;g' \ - ${WRKSRC}/Const.c.bak > ${WRKSRC}/Const.c - -DOCS= \ - HOWTO \ - IMPLEMENTED \ - README \ - TODO \ - doc.rd +WRKSRC= ${WRKDIR}/${DISTNAME}/ext +DOCS= AUTHORS HISTORY HOWTO IMPLEMENTED README THANKS \ + TODO doc.rd +REPLACE_RUBY_DIRS= ${WRKSRC}/../samples post-install: ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl @@ -37,7 +25,6 @@ post-install: ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl ${INSTALL_DATA} ${WRKSRC}/../samples/*.rb ${RUBY_EXAMPLESDIR}/gsl -.include "../../lang/ruby-base/Makefile.common" -.include "../../lang/ruby-base/buildlink3.mk" +.include "../../lang/ruby/modules.mk" .include "../../math/gsl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |