summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-02-27 12:52:41 +0000
committerrillig <rillig@pkgsrc.org>2008-02-27 12:52:41 +0000
commit5ab7969f1dc8e1b0b95dc313689e46e72c490931 (patch)
tree9a10126ae135dbb8aef01c8a193cfeeca35b356d
parent1b22e43866168f4ad9a2294e46d9cdec4c53f1b8 (diff)
downloadpkgsrc-5ab7969f1dc8e1b0b95dc313689e46e72c490931.tar.gz
Don't install the binary stripped when INSTALL_UNSTRIPPED=yes.
While here, shortened the code that installs the files.
-rw-r--r--emulators/arnold/Makefile23
1 files changed, 6 insertions, 17 deletions
diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile
index 18e5330118a..081b343dcd7 100644
--- a/emulators/arnold/Makefile
+++ b/emulators/arnold/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/12 16:28:06 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/02/27 12:52:41 rillig Exp $
#
DISTNAME= arnsrc27012002
@@ -20,27 +20,16 @@ GNU_CONFIGURE= yes
CONFIGURE_DIRS= src
BUILD_DIRS= ${CONFIGURE_DIRS}
BUILD_TARGET= arnold
+MAKE_FLAGS+= LFLAGS2=#none, especially not -s
SHAREDIR= ${PREFIX}/share/arnold
-DOCDIR= ${PREFIX}/share/doc/arnold
-MAKE_ENV+= SHAREDIR=${SHAREDIR:Q}
-INSTALLATION_DIRS= bin
+MAKE_ENV+= SHAREDIR=${SHAREDIR}
+AUTO_MKDIRS= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arnold ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${SHAREDIR}
- ${INSTALL_DATA_DIR} ${SHAREDIR}/roms
- for dir in amsdose cpc464e cpc6128e cpc664e cpcplus kcc; \
- do \
- ${INSTALL_DATA_DIR} ${SHAREDIR}/roms/$$dir; \
- for f in ${WRKSRC}/roms/$$dir/*; \
- do \
- ${INSTALL_DATA} $$f ${SHAREDIR}/roms/$$dir; \
- done \
- done
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.linux ${DOCDIR}
+ cd ${WRKSRC}/roms && pax -wr * ${SHAREDIR}/roms/
+ cd ${WRKSRC} && ${INSTALL_DATA} readme.* ${PREFIX}/share/doc/arnold
.include "../../mk/oss.buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"