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
commit476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/sch
parentdf44780831cf4dadccea821bb560fbdd11bda60b (diff)
downloadpkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.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"