summaryrefslogtreecommitdiff
path: root/misc/sch
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commitcfcb73a7daae0a4628a69e74119df08f06aea0a7 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/sch
parent75e62b0b49c3ce7b99b2416889b080608416d847 (diff)
downloadpkgsrc-cfcb73a7daae0a4628a69e74119df08f06aea0a7.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"