summaryrefslogtreecommitdiff
path: root/emulators/xm7
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commitcdc5e6dd9688136784a32410486ee5582c6bea45 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/xm7
parent10c92f44a52d654ee28ddd9184c9ea6d81284467 (diff)
downloadpkgsrc-cdc5e6dd9688136784a32410486ee5582c6bea45.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/xm7')
-rw-r--r--emulators/xm7/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile
index 77473732114..1dfa361c84a 100644
--- a/emulators/xm7/Makefile
+++ b/emulators/xm7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/09/25 10:07:05 hira Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/03 19:21:39 jlam Exp $
#
DISTNAME= xm71010s
@@ -14,6 +14,8 @@ COMMENT= X11-based FM-7 emulator
BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= source archive is not redistributable
LICENSE= no-commercial-use
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -30,7 +32,7 @@ post-extract:
cd ${WRKDIR} && mv linux/* vm
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${DESTDIR}${PREFIX}/bin
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"