summaryrefslogtreecommitdiff
path: root/emulators/uips
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/uips
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/uips')
-rw-r--r--emulators/uips/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/uips/Makefile b/emulators/uips/Makefile
index 65cadf7b551..bfd73235bcf 100644
--- a/emulators/uips/Makefile
+++ b/emulators/uips/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:51 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 19:21:38 jlam Exp $
#
DISTNAME= uips
@@ -11,6 +11,8 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.neillcorlett.com/uips/
COMMENT= IPS patcher with v2 support
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}
@@ -22,8 +24,8 @@ do-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/uips ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uips
- ${INSTALL_DATA} ${WRKSRC}/uips.txt ${PREFIX}/share/doc/uips
+ ${INSTALL_PROGRAM} ${WRKSRC}/uips ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uips
+ ${INSTALL_DATA} ${WRKSRC}/uips.txt ${DESTDIR}${PREFIX}/share/doc/uips
.include "../../mk/bsd.pkg.mk"