pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/mednafen Convert to user-destdir.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9fcdbcbe74f7
branches: trunk
changeset: 554530:9fcdbcbe74f7
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Feb 15 19:58:12 2009 +0000
description:
Convert to user-destdir.
diffstat:
emulators/mednafen/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r de3e5c55ee03 -r 9fcdbcbe74f7 emulators/mednafen/Makefile
--- a/emulators/mednafen/Makefile Sun Feb 15 19:44:55 2009 +0000
+++ b/emulators/mednafen/Makefile Sun Feb 15 19:58:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2009/01/04 21:59:44 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2009/02/15 19:58:12 wiz Exp $
#
DISTNAME= mednafen-0.8.A
@@ -16,6 +16,8 @@
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= share/doc/mednafen
SUBST_CLASSES+= dsp
SUBST_STAGE.dsp= pre-configure
@@ -25,9 +27,8 @@
SUBST_SED.dsp= -e s,/dev/dsp,${DEVOSSAUDIO},
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
- ${PREFIX}/share/doc/mednafen
+ ${DESTDIR}${PREFIX}/share/doc/mednafen
.include "../../audio/esound/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index