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/rdp | |
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/rdp')
-rw-r--r-- | devel/rdp/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/devel/rdp/Makefile b/devel/rdp/Makefile index 3fb7f829cef..444e89de99d 100644 --- a/devel/rdp/Makefile +++ b/devel/rdp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/01/03 13:39:48 obache Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/03 17:45:37 jlam Exp $ DISTNAME= rdp1_5 PKGNAME= rdp-1.5 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.rhul.ac.uk/research/languages/projects/rdp.shtml COMMENT= Compiles attributed LL(1) grammars into recursive descent compilers +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/rdp MAKE_FILE= makefile @@ -21,11 +23,11 @@ USE_LANGUAGES= c c++ INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rdp - ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_case.ps ${PREFIX}/share/doc/rdp - ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_supp.ps ${PREFIX}/share/doc/rdp - ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_tut.ps ${PREFIX}/share/doc/rdp - ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_user.ps ${PREFIX}/share/doc/rdp + ${INSTALL_PROGRAM} ${WRKSRC}/rdp ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rdp + ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_case.ps ${DESTDIR}${PREFIX}/share/doc/rdp + ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_supp.ps ${DESTDIR}${PREFIX}/share/doc/rdp + ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_tut.ps ${DESTDIR}${PREFIX}/share/doc/rdp + ${INSTALL_DATA} ${WRKSRC}/rdp_doc/rdp_user.ps ${DESTDIR}${PREFIX}/share/doc/rdp .include "../../mk/bsd.pkg.mk" |