summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-03-23 11:08:52 +0000
committertaca <taca@pkgsrc.org>2008-03-23 11:08:52 +0000
commit66bd82ae511a5d004a180f06ac567f95c26a3ca2 (patch)
tree8b5e75332d0f145b8b81b7b65dbc6bbcfdf4b5b1 /devel
parent9cd284d10fb8cdf1e0952b46fd6cc6f727faca3b (diff)
downloadpkgsrc-66bd82ae511a5d004a180f06ac567f95c26a3ca2.tar.gz
Use INSTALLATION_DIRS.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-byaccr/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile
index 33172fef23c..9b784bf31a9 100644
--- a/devel/ruby-byaccr/Makefile
+++ b/devel/ruby-byaccr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/23 11:08:52 taca Exp $
DISTNAME= byaccr-0.1
PKGNAME= ruby-${DISTNAME}
@@ -14,9 +14,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
EXAMPLES= Makefile cal.y calfunc.rb main.rb
+INSTALLATION_DIRS= bin share/examples/byaccr
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/byaccr ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/byaccr
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/sample/${f} \
${DESTDIR}${PREFIX}/share/examples/byaccr