pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-byaccr Use INSTALLATION_DIRS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e60621d1f59
branches:  trunk
changeset: 540035:8e60621d1f59
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 23 11:08:52 2008 +0000

description:
Use INSTALLATION_DIRS.

diffstat:

 devel/ruby-byaccr/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 25be4673ecda -r 8e60621d1f59 devel/ruby-byaccr/Makefile
--- a/devel/ruby-byaccr/Makefile        Sun Mar 23 01:04:47 2008 +0000
+++ b/devel/ruby-byaccr/Makefile        Sun Mar 23 11:08:52 2008 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index