summaryrefslogtreecommitdiff
path: root/emulators/b-em
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-07-02 06:40:31 +0000
committerwiz <wiz@pkgsrc.org>2013-07-02 06:40:31 +0000
commitd68721719a2797456090e353079d7a84810dfe46 (patch)
tree66e51eb3e154a553a5e56b69c922b9bfd00bf3d7 /emulators/b-em
parent33537f52db6aa5067c75eb672761d89dd5355093 (diff)
downloadpkgsrc-d68721719a2797456090e353079d7a84810dfe46.tar.gz
Instead of a hack that needs to be adapted for every automake release,
use the standard tools in the standard way.
Diffstat (limited to 'emulators/b-em')
-rw-r--r--emulators/b-em/Makefile7
-rw-r--r--emulators/b-em/hacks.mk15
2 files changed, 5 insertions, 17 deletions
diff --git a/emulators/b-em/Makefile b/emulators/b-em/Makefile
index 66c4f732477..58ec158ac31 100644
--- a/emulators/b-em/Makefile
+++ b/emulators/b-em/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2012/10/03 12:55:10 asau Exp $
+# $NetBSD: Makefile,v 1.5 2013/07/02 06:40:31 wiz Exp $
#
DISTNAME= B-emv2.2Linux
@@ -11,7 +11,7 @@ HOMEPAGE= http://b-em.bbcmicro.com/
COMMENT= Freeware Acorn BBC Micro Emulator with 2nd processors
LICENSE= gnu-gpl-v3
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake aclocal automake
WRKSRC= ${WRKDIR}
GNU_CONFIGURE= yes
@@ -30,6 +30,9 @@ SUBST_STAGE.d2u= post-extract
SUBST_FILES.d2u= src/win.c src/linux.c
SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
+post-extract:
+ cd ${WRKSRC} && aclocal && automake -acf
+
do-install:
${INSTALL} -d ${DESTDIR}${PREFIX}/bin
${INSTALL} -d ${DESTDIR}${BEMDATADIR}/roms
diff --git a/emulators/b-em/hacks.mk b/emulators/b-em/hacks.mk
deleted file mode 100644
index 50f17fd1593..00000000000
--- a/emulators/b-em/hacks.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: hacks.mk,v 1.5 2013/01/21 13:51:35 wiz Exp $
-
-# This package's distfile has the wonderful idea of containing
-# symlinks into /usr/share/automake-1.11/. What will they think of
-# next?
-
-BUILD_DEPENDS+= automake>=1.13<1.14:../../devel/automake
-
-post-extract:
- @${ECHO} 'Fixing symlinks to external files'
-.for file in compile COPYING depcomp INSTALL
- [ -h ${WRKSRC}/${file} ] || exit 1
- rm -f ${WRKSRC}/${file}
- cp ${PREFIX}/share/automake-1.13/${file} ${WRKSRC}/${file}
-.endfor