From 06d9c7dce41f5c7499b62388c5645696eb42c1a4 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 19:21:37 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- emulators/xm7/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emulators/xm7') 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" -- cgit v1.2.3