blob: 3620eb109c46e81357b18fda7a6479815cdb99fb (
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
|
# $NetBSD: Makefile,v 1.24 2006/07/27 18:48:02 jlam Exp $
#
PEACE_VERSION= 0.0.20060701
DISTNAME= peace-${PEACE_VERSION}
SITES.peace-0.0.20060701.tar.gz=http://chiharu.hauN.org/peace/dist/
CATEGORIES= emulators
MAINTAINER= kent@NetBSD.org
HOMEPAGE= http://chiharu.hauN.org/peace/
COMMENT= Support running Win32 executables
DISTFILES+= peace-${PEACE_VERSION}.tar.gz
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/}
ONLY_FOR_PLATFORM= NetBSD-[2-9]*-i386
DEPENDS+= icu>=2.4nb1:../../textproc/icu
DEPENDS+= freetype2>=2.2.1:../../graphics/freetype2
# bin/showstack requires perl5 and cross-i386-netbsdpe
# DEPENDS+= perl5:../../lang/perl5
# DEPENDS+= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
BUILD_DEPENDS+= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
BUILD_DEPENDS+= x11-links>=0.30:../../pkgtools/x11-links
# Don't use "+=" here to avoid unexpected link with ELF libraries
LDFLAGS= -L${WRKSRC}/lib
PECOFFDIR= ${PREFIX}/emul/pecoff
MAKE_FLAGS+= PECOFFDIR=${PECOFFDIR:Q} \
LOCALBASE=${LOCALBASE:Q} \
CROSSBASE=${CROSSBASE:Q} \
X11BASE=${X11BASE:Q} \
CHECK_DEPENDENTS=NO
INSTALL_DIRS= libexec/ld.pe_so dll bin
pre-install:
${INSTALL_PROGRAM_DIR} ${PECOFFDIR}/usr/libexec
${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/lib
post-install:
${RMDIR} ${PREFIX}/emul/pecoff/usr/share/man/cat1
${RMDIR} ${PREFIX}/emul/pecoff/usr/share/man/man1
${RMDIR} ${PREFIX}/emul/pecoff/usr/share/man
${RMDIR} ${PREFIX}/emul/pecoff/usr/share
.include "../../mk/bsd.pkg.mk"
|