summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-02-15 03:33:02 +0000
committertaca <taca@pkgsrc.org>2009-02-15 03:33:02 +0000
commit2615e3b7d24e64b62456079c70b2279afa66ef7b (patch)
treeb9512a4380aab439f1b04c6a1e2fdadd2fd55d75 /textproc
parent73de9ffc0e9600694d7d500f775ab7706ff45896 (diff)
downloadpkgsrc-2615e3b7d24e64b62456079c70b2279afa66ef7b.tar.gz
Enable DESTDIR support with devel/ruby-setup.
(No other functional change.)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-amrita/Makefile9
-rw-r--r--textproc/ruby-amrita/PLIST6
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/ruby-amrita/Makefile b/textproc/ruby-amrita/Makefile
index e1900e7d71a..f1d3b9d1875 100644
--- a/textproc/ruby-amrita/Makefile
+++ b/textproc/ruby-amrita/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/06/19 14:54:37 taca Exp $
+# $NetBSD: Makefile,v 1.14 2009/02/15 03:33:02 taca Exp $
DISTNAME= amrita-1.0.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -16,9 +16,12 @@ NO_BUILD= yes
DOCS= ChangeLog README README_ja
REPLACE_RUBY= bin/ams bin/amshandler bin/amx
USE_TOOLS= pax
-USE_RUBY_INSTALL= yes
-INSTALLATION_DIRS= bin ${RUBY_DOC}/amrita ${RUBY_EG}/amrita
+USE_RUBY_SETUP= yes
+USE_RUBY_SETUP_PKG= yes
+INSTALLATION_DIRS= bin ${RUBY_DOC}/amrita ${RUBY_EG}/amrita \
+ ${RUBY_VENDORLIB}
+PKG_DESTDIR_SUPPORT= user-destdir
post-patch:
@${FIND} ${WRKSRC} -name '.cvsignore' -exec ${RM} -f {} \;
diff --git a/textproc/ruby-amrita/PLIST b/textproc/ruby-amrita/PLIST
index 2614c5b63fd..db4a92cf02a 100644
--- a/textproc/ruby-amrita/PLIST
+++ b/textproc/ruby-amrita/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2008/06/19 14:54:37 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/02/15 03:33:02 taca Exp $
bin/ams
bin/amshandler
bin/amx
@@ -36,7 +36,6 @@ ${RUBY_DOC}/amrita/index.rd
${RUBY_DOC}/amrita/index.xml
${RUBY_DOC}/amrita/index_ja.rd
${RUBY_DOC}/amrita/index_ja.xml
-${RUBY_DOC}/amrita/html/classes/Amrita.html
${RUBY_DOC}/amrita/html/classes/Amrita/AmsHandler.html
${RUBY_DOC}/amrita/html/classes/Amrita/AmsTemplate.html
${RUBY_DOC}/amrita/html/classes/Amrita/AsIsFormatter.html
@@ -83,10 +82,11 @@ ${RUBY_DOC}/amrita/html/classes/Amrita/TemplateFile.html
${RUBY_DOC}/amrita/html/classes/Amrita/TemplateFileWithCache.html
${RUBY_DOC}/amrita/html/classes/Amrita/TemplateText.html
${RUBY_DOC}/amrita/html/classes/Amrita/XMLParser.html
-${RUBY_DOC}/amrita/html/classes/Amx.html
+${RUBY_DOC}/amrita/html/classes/Amrita.html
${RUBY_DOC}/amrita/html/classes/Amx/AmxContext.html
${RUBY_DOC}/amrita/html/classes/Amx/Document.html
${RUBY_DOC}/amrita/html/classes/Amx/Template.html
+${RUBY_DOC}/amrita/html/classes/Amx.html
${RUBY_DOC}/amrita/html/classes/Array.html
${RUBY_DOC}/amrita/html/classes/CKAmritaElement.html
${RUBY_DOC}/amrita/html/classes/Integer.html