summaryrefslogtreecommitdiff
path: root/emulators/uae
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/uae
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/uae')
-rw-r--r--emulators/uae/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index 319a29e2505..d4c33798e38 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2007/04/06 06:03:08 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2008/03/03 19:21:38 jlam Exp $
DISTNAME= uae-0.8.25
PKGREVISION= 3
@@ -12,6 +12,8 @@ COMMENT= The UAE Amiga Emulator
DEPENDS+= unzip>=5.40:../../archivers/unzip
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
@@ -26,10 +28,10 @@ CONFIGURE_ENV+= cv_func_getmntinfo=yes fu_cv_sys_mounted_getmntinfo=yes
INSTALLATION_DIRS= bin
do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uae
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uae
cd ${WRKSRC}/docs && ${INSTALL_DATA} FAQ README \
- ${PREFIX}/share/doc/uae
+ ${DESTDIR}${PREFIX}/share/doc/uae
BUILDLINK_DEPMETHOD.libXt?= build