blob: b888a2ac54541e7340f097fdf36584fd7405d42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.31 2010/06/19 13:59:52 obache Exp $
#
DISTNAME= simhv38-1
PKGNAME= simh-3.8.1
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
EXTRACT_SUFX= .zip
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://simh.trailing-edge.com/
COMMENT= Bob Supnik's historical computer simulator
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6
WRKSRC= ${WRKDIR}
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "arm")
BUILDLINK_TRANSFORM+= rm:-O2
.endif
INSTALLATION_DIRS= bin share/simh share/doc/simh
MAKE_FILE= makefile
MAKE_FLAGS+= USE_NETWORK=YES
post-extract:
${MKDIR} ${WRKSRC}/BIN
do-install:
(cd ${WRKSRC}/BIN && for BIN in *; do \
if [ -f $$BIN ] ; then \
${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \
fi ; \
done)
${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${DESTDIR}${PREFIX}/share/simh
(cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
${INSTALL_DATA} $$TXT ${DESTDIR}${PREFIX}/share/doc/simh; \
done)
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|