summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca>2008-03-23 11:08:52 +0000
committertaca <taca>2008-03-23 11:08:52 +0000
commitb22e69b61aa1fa43c142eb554bd130c9ba202063 (patch)
tree8b5e75332d0f145b8b81b7b65dbc6bbcfdf4b5b1 /devel
parent9da2dd896e2b9489cd19adb0ecbfb2fc8039196f (diff)
downloadpkgsrc-b22e69b61aa1fa43c142eb554bd130c9ba202063.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