1 # $NetBSD: Makefile,v 1.18 2010/02/01 02:23:45 joerg Exp $
6 MASTER_SITES
= http
://people.freebsd.org
/~harti
/p11
/
9 MAINTAINER
= packages@grumpf.hope-2000.org
10 COMMENT
= PDP11 emulator
13 CONFIGURE_ARGS
+= --with-begemot
=${PREFIX
:Q
}
17 .
include "../../mk/bsd.prefs.mk"
19 PLIST_VARS
+= bpf tap tun
21 # bfp, tap, and tun tests taken from p11 configure script
25 .if exists
(/dev
/tap0
) || exists
(/dev
/net
/tun
)
28 .if exists
(/dev
/tun
) || exists
(/dev
/tun0
) || exists
(/dev
/net
/tun
)
32 # Force the bpf, tun, and tap epp backends to be built on DragonFly.
33 .if
${OPSYS} == "DragonFly"
36 CONFIGURE_ENV
+= ac_cv_epp_bpf
=yes ac_cv_epp_tun
=yes ac_cv_epp_tap
=yes
39 # override MAKEFLAGS in the build and install stages
41 cd
${WRKSRC} && ${GMAKE} ${BUILD_TARGET} MAKEFLAGS
=
44 cd
${WRKSRC} && ${GMAKE} ${INSTALL_TARGET} MAKEFLAGS
= DESTDIR
=${DESTDIR}
46 .
include "../../devel/libbegemot/buildlink3.mk"
47 .
include "../../mk/bsd.pkg.mk"