blob: a05b061019f3905bea05779dfdaf26456baabf07 (
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
|
# $NetBSD: Makefile,v 1.8 2004/08/04 06:22:25 xtraeme Exp $
#
DISTNAME= mips64emul-0.2
CATEGORIES= emulators
MASTER_SITES= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/src/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.mdstud.chalmers.se/~md1gavan/mips64emul/
COMMENT= MIPS 32/64-bit emulator
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_X11= yes
HAS_CONFIGURE= yes
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
GLOBAL_LDFLAGS= -L${X11BASE}/lib \
${_COMPILER_LD_FLAG}${RPATH_FLAG}${X11BASE}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mips64emul ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/mips64emul.1 ${PREFIX}/man/man1
.for f in README HISTORY BUGS TODO RELEASE LICENSE
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
.endfor
SUBST_CLASSES= x11
SUBST_STAGE.x11= post-patch
SUBST_FILES.x11= configure
SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g"
SUBST_MESSAGE.x11= "Fixing linking flags."
.include "../../mk/bsd.pkg.mk"
|