diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 2ff2716acf781c9b1b039a6b95e38ecb3d95ed08 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/sch | |
parent | b7a420b59c401cc1e9a58c6d5a9f19b4f93074f8 (diff) | |
download | pkgsrc-2ff2716acf781c9b1b039a6b95e38ecb3d95ed08.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/sch')
-rw-r--r-- | misc/sch/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/sch/Makefile b/misc/sch/Makefile index fee0deabdda..70cbfec91b3 100644 --- a/misc/sch/Makefile +++ b/misc/sch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:13 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/04 19:21:12 jlam Exp $ DISTNAME= sch-20010224 CATEGORIES= misc @@ -9,6 +9,8 @@ COMMENT= Curses-based schedule management tool LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/sch/build GNU_CONFIGURE= yes @@ -16,6 +18,6 @@ INSTALLATION_DIRS= bin # manpages are not complete, don't confuse people do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sch ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/sch ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |