diff options
author | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 17:45:33 +0000 |
commit | 7a1142123798f48c48fc2d1fe38690a6b94d1df7 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/ruby-byaccr/Makefile | |
parent | e629efdae96bb93a089e74409a36149a86e10f81 (diff) | |
download | pkgsrc-7a1142123798f48c48fc2d1fe38690a6b94d1df7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/ruby-byaccr/Makefile')
-rw-r--r-- | devel/ruby-byaccr/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/ruby-byaccr/Makefile b/devel/ruby-byaccr/Makefile index 2b84eaf813b..33172fef23c 100644 --- a/devel/ruby-byaccr/Makefile +++ b/devel/ruby-byaccr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/09/13 00:42:12 taca Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $ DISTNAME= byaccr-0.1 PKGNAME= ruby-${DISTNAME} @@ -10,13 +10,16 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= # not available COMMENT= Parser generator for ruby based on 'Berkeley Yacc/Yacc for Java' +PKG_DESTDIR_SUPPORT= user-destdir + EXAMPLES= Makefile cal.y calfunc.rb main.rb do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/byaccr ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/byaccr + ${INSTALL_PROGRAM} ${WRKSRC}/byaccr ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/byaccr .for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/byaccr + ${INSTALL_DATA} ${WRKSRC}/sample/${f} \ + ${DESTDIR}${PREFIX}/share/examples/byaccr .endfor .include "../../mk/bsd.pkg.mk" |