pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/ruby-gsl Fixed the pkglint warnings about "${WRKS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d54eaa9bb7ab
branches:  trunk
changeset: 518086:d54eaa9bb7ab
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 31 08:42:41 2006 +0000

description:
Fixed the pkglint warnings about "${WRKSRC}/..".

diffstat:

 math/ruby-gsl/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r f539988789aa -r d54eaa9bb7ab math/ruby-gsl/Makefile
--- a/math/ruby-gsl/Makefile    Thu Aug 31 08:37:53 2006 +0000
+++ b/math/ruby-gsl/Makefile    Thu Aug 31 08:42:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/01/03 15:07:29 taca Exp $
+# $NetBSD: Makefile,v 1.11 2006/08/31 08:42:41 rillig Exp $
 
 DISTNAME=      ruby-gsl-0.2.0
 PKGNAME=       ${RUBY_PKGPREFIX}-gsl-0.2.0
@@ -10,21 +10,22 @@
 HOMEPAGE=      http://ruby-gsl.sourceforge.net/
 COMMENT=       Wrapper of the GNU Scientific Library (GSL) for Ruby
 
+CONFIGURE_DIRS=                ext
+RUBY_EXTCONF_SUBDIRS=  ${CONFIGURE_DIRS}
 RUBY_HAS_ARCHLIB=      yes
 USE_RUBY_EXTCONF=      yes
 INSTALL_TARGET=                site-install
-WRKSRC=                        ${WRKDIR}/${DISTNAME}/ext
 DOCS=                  AUTHORS HISTORY HOWTO IMPLEMENTED README THANKS \
                        TODO doc.rd
-REPLACE_RUBY_DIRS=     ${WRKSRC}/../samples
+REPLACE_RUBY_DIRS=     ${WRKSRC}/samples
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/gsl
 .for f in ${DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/../doc/${f} ${RUBY_DOCDIR}/gsl
+       ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_DOCDIR}/gsl
 .endfor
        ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/gsl
-       ${INSTALL_DATA} ${WRKSRC}/../samples/*.rb ${RUBY_EXAMPLESDIR}/gsl
+       ${INSTALL_DATA} ${WRKSRC}/samples/*.rb ${RUBY_EXAMPLESDIR}/gsl
 
 .include "../../lang/ruby/modules.mk"
 .include "../../math/gsl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index