summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 20:15:46 +0000
committerjoerg <joerg>2010-01-29 20:15:46 +0000
commit3105ded175a6c1a29094ce9c30c1540a32a3918e (patch)
tree0f6d4aa1c071ab8f4b5497c511d60872127c56ed /emulators
parent468accb8a559ef28482fe9303034d2e14ee3e050 (diff)
downloadpkgsrc-3105ded175a6c1a29094ce9c30c1540a32a3918e.tar.gz
DESTDIR support
Diffstat (limited to 'emulators')
-rw-r--r--emulators/aranym/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile
index b9b67934fdf..6627a065879 100644
--- a/emulators/aranym/Makefile
+++ b/emulators/aranym/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/08/07 16:19:34 hauke Exp $
+# $NetBSD: Makefile,v 1.21 2010/01/29 20:20:53 joerg Exp $
#
DISTNAME= aranym-0.9.6beta2
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://aranym.sourceforge.net/
COMMENT= Atari Running on Any Machine
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake gzip
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
@@ -20,8 +22,8 @@ MANCOMPRESSED= yes
CONFIGURE_ARGS+= --enable-fullmmu
EMUTOS_WRKSRC= ${WRKDIR}/emutos-512k-0.8.3
-EMUTOS_DOC_DIR= ${DESTDIR}${PREFIX}/share/doc/aranym/emutos
-EMUTOS_ROM_DIR= ${DESTDIR}${PREFIX}/share/aranym
+EMUTOS_DOC_DIR= ${PREFIX}/share/doc/aranym/emutos
+EMUTOS_ROM_DIR= ${PREFIX}/share/aranym
REQD_DIRS+= ${EMUTOS_ROM_DIR} ${EMUTOS_DOC_DIR}
@@ -40,16 +42,16 @@ SUBST_MESSAGE.paths= Fixing hardcoded paths.
CONFIGURE_ARGS+= --enable-nfpci
.endif
+INSTALLATION_DIRS+= ${EMUTOS_DOC_DIR} ${EMUTOS_ROM_DIR}
+
post-install:
- #${INSTALL_DATA_DIR} ${EMUTOS_ROM_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/etos512k.img ${EMUTOS_ROM_DIR}
- ${INSTALL_DATA_DIR} ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/readme.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/announce.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/authors.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/changelog.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/license.txt ${EMUTOS_DOC_DIR}
- ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/status.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/etos512k.img ${DESTDIR}${EMUTOS_ROM_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/readme.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/announce.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/authors.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/changelog.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/license.txt ${DESTDIR}${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/status.txt ${DESTDIR}${EMUTOS_DOC_DIR}
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"