RUBY_REPLACE_DIRS is relative to ${WRKSRC} so no need to give the absolute

path to these directories.
This commit is contained in:
jlam 2008-04-04 15:31:39 +00:00
parent 372043a7ec
commit 7e66bec622
5 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2008/01/18 05:14:39 tnn Exp $ # $NetBSD: Makefile,v 1.18 2008/04/04 15:31:39 jlam Exp $
PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER} PKGNAME= ${RUBY_PKGPREFIX}-subversion-${SVNVER}
PKGREVISION= 1 PKGREVISION= 1
@ -8,7 +8,7 @@ COMMENT= Ruby bindings for Subversion
SHLIBTOOL_OVERRIDE= # empty SHLIBTOOL_OVERRIDE= # empty
REPLACE_RUBY_DIRS= ${WRKSRC}/tools REPLACE_RUBY_DIRS= tools
CONFIGURE_ENV+= RUBY=${RUBY:Q} CONFIGURE_ENV+= RUBY=${RUBY:Q}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/03/02 02:49:45 obache Exp $ # $NetBSD: Makefile,v 1.2 2008/04/04 15:31:39 jlam Exp $
# #
DISTNAME= prime-1.0.0.1 DISTNAME= prime-1.0.0.1
@ -23,7 +23,7 @@ USE_LANGUAGES= # none
PKGCONFIG_OVERRIDE+= prime.pc.in PKGCONFIG_OVERRIDE+= prime.pc.in
REPLACE_RUBY_DIRS= ${WRKSRC}/src REPLACE_RUBY_DIRS= src
REPLACE_RUBY_PAT= *.src REPLACE_RUBY_PAT= *.src
CONFIGURE_ARGS+= --with-rubydir=${RUBY_SITELIBDIR} CONFIGURE_ARGS+= --with-rubydir=${RUBY_SITELIBDIR}

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2007/10/03 14:45:42 heinz Exp $ # $NetBSD: Makefile,v 1.8 2008/04/04 15:31:39 jlam Exp $
DISTNAME= ming-ruby-${VER} DISTNAME= ming-ruby-${VER}
PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER} PKGNAME= ${RUBY_PKGPREFIX}-ming-${VER}
@ -15,7 +15,7 @@ VER= 0.1.8
EXAMPLES= README.examples action.rb drag.rb \ EXAMPLES= README.examples action.rb drag.rb \
gradient.rb gradientxform.rb hello.rb keypress.rb \ gradient.rb gradientxform.rb hello.rb keypress.rb \
mousetrack.rb movieclip.rb newbutton.rb shape.rb mousetrack.rb movieclip.rb newbutton.rb shape.rb
REPLACE_RUBY_DIRS= ${WRKSRC}/examples REPLACE_RUBY_DIRS= examples
post-install: post-install:
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ming ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/ming

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2007/12/02 11:44:03 wiz Exp $ # $NetBSD: Makefile,v 1.10 2008/04/04 15:31:39 jlam Exp $
# #
DISTNAME= nqxml-1.1.3p1 DISTNAME= nqxml-1.1.3p1
@ -23,7 +23,7 @@ CONTRIB_LIB= autodis_1.rb autodis_2.rb
TESTS= dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \ TESTS= dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \
testresource.rb tokenizertester.rb treeparsertester.rb \ testresource.rb tokenizertester.rb treeparsertester.rb \
writertester.rb writertester.rb
REPLACE_RUBY_DIRS= ${WRKSRC}/examples ${WRKSRC}/tests REPLACE_RUBY_DIRS= examples tests
post-install: post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/nqxml ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/nqxml

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.29 2008/03/13 22:07:05 jlam Exp $ # $NetBSD: Makefile,v 1.30 2008/04/04 15:31:39 jlam Exp $
DISTNAME= ${RUBY_DISTNAME} DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION_SUFFIX} PKGNAME= ${RUBY_PKGPREFIX}-tk-${RUBY_VERSION_SUFFIX}
@ -18,7 +18,7 @@ EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk
WRKSRC= ${RUBY_WRKSRC}/ext/tk WRKSRC= ${RUBY_WRKSRC}/ext/tk
CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q} CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
REPLACE_RUBY_DIRS= ${WRKSRC}/sample REPLACE_RUBY_DIRS= sample
post-extract: post-extract:
${CHMOD} ${SHAREMODE} ${WRKSRC}/sample/tkextlib/tktable/tcllogo.gif ${CHMOD} ${SHAREMODE} ${WRKSRC}/sample/tkextlib/tktable/tcllogo.gif