summaryrefslogtreecommitdiff
path: root/misc/sch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/sch
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.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/Makefile6
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"