diff options
Diffstat (limited to 'sysutils/tphdisk/Makefile')
-rw-r--r-- | sysutils/tphdisk/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
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" |