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 | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/ucon64/Makefile | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-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/ucon64/Makefile')
-rw-r--r-- | emulators/ucon64/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile index 6e2dc832abd..59d2b191994 100644 --- a/emulators/ucon64/Makefile +++ b/emulators/ucon64/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/03/19 16:40:27 tv Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= ucon64-2.0.0-src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ucon64.sourceforge.net/ COMMENT= Emulator ROM and disk image converter and inspector +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/src CONFIGURE_ARGS+= --disable-discmage # requires some work @@ -23,12 +25,13 @@ CHECK_PORTABILITY_SKIP+=install_beos.sh INSTALLATION_DIRS= share/examples/ucon64 share/doc/ucon64/images do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt ${PREFIX}/share/examples/ucon64/ + ${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt \ + ${DESTDIR}${PREFIX}/share/examples/ucon64 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \ - ${PREFIX}/share/doc/ucon64/ + ${DESTDIR}${PREFIX}/share/doc/ucon64 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \ - ${PREFIX}/share/doc/ucon64/images/ + ${DESTDIR}${PREFIX}/share/doc/ucon64/images .include "options.mk" .include "../../devel/zlib/buildlink3.mk" |