diff options
author | wiz <wiz@pkgsrc.org> | 2009-02-15 19:58:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-02-15 19:58:12 +0000 |
commit | 1062401b6a392919da00efdb4bb3ec964af92250 (patch) | |
tree | b9dec7c1478424e01c6365d138a897e3db0eec4e | |
parent | edbec2bb572482accf518bf78b75747f5fcc3c12 (diff) | |
download | pkgsrc-1062401b6a392919da00efdb4bb3ec964af92250.tar.gz |
Convert to user-destdir.
-rw-r--r-- | emulators/mednafen/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index 4a650216584..023f074fe7b 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -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_TOOLS+= intltool pkg-config 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_FILES.dsp= src/sexyal/drivers/esd.c src/sexyal/drivers/oss.c \ 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" |