From ac6092c44ce453d44f1838729bb4feb64a7adb04 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 20:28:15 +0000 Subject: DESTDIR support --- sysutils/tphdisk/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sysutils/tphdisk') diff --git a/sysutils/tphdisk/Makefile b/sysutils/tphdisk/Makefile index b78fee33b33..c92bf7df7b1 100644 --- a/sysutils/tphdisk/Makefile +++ b/sysutils/tphdisk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ +# $NetBSD: Makefile,v 1.2 2010/01/27 20:28:15 joerg Exp $ DISTNAME= tphdisk PKGNAME= tphdisk-20050112 @@ -10,12 +10,16 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://samba.anu.edu.au/ftp/unpacked/junkcode/ COMMENT= Create hibernation partitions for Thinkpads +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} +INSTALLATION_DIRS= bin + do-build: cd ${WRKSRC} && cc -o tphdisk tphdisk.c do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} tphdisk ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/tphdisk ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3