diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/Cygne-SDL | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/Cygne-SDL')
-rw-r--r-- | emulators/Cygne-SDL/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/emulators/Cygne-SDL/Makefile b/emulators/Cygne-SDL/Makefile index 730eb7eaf23..a281dd49616 100644 --- a/emulators/Cygne-SDL/Makefile +++ b/emulators/Cygne-SDL/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/12/18 01:34:54 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= Cygne-SDL-0.1-src @@ -14,6 +14,8 @@ COMMENT= Bandai Wonderswan Color handheld emulator BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm BUILD_DEPENDS+= zip>=2.0:../../archivers/zip +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/Cygne-SDL-0.1 MAKE_FILE= Makefiles/Makefile.unix NO_CONFIGURE= yes @@ -30,14 +32,14 @@ post-build: ${LOCALBASE}/bin/zip Wondersnake.zip Wondersnake.wsc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${PREFIX}/bin/Cygne-SDL - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Cygne-SDL - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Cygne-SDL - ${INSTALL_DATA_DIR} ${PREFIX}/share/Cygne-SDL + ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${DESTDIR}${PREFIX}/bin/Cygne-SDL + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/Cygne-SDL ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.txt \ - ${PREFIX}/share/Cygne-SDL + ${DESTDIR}${PREFIX}/share/Cygne-SDL ${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.zip \ - ${PREFIX}/share/Cygne-SDL + ${DESTDIR}${PREFIX}/share/Cygne-SDL .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |