diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 06d9c7dce41f5c7499b62388c5645696eb42c1a4 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/xm7 | |
parent | d21f8cb7ef167c68991b38b87d2a2d12b1189509 (diff) | |
download | pkgsrc-06d9c7dce41f5c7499b62388c5645696eb42c1a4.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/Makefile | 6 |
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" |