blob: 1270652ed258b6d4d483ab73771073cc37dadacd (
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.15 2006/01/03 00:05:38 wiz Exp $
#
PEACE_VERSION= 0.0.20050609
DISTNAME= peace-${PEACE_VERSION}
SITES_peace-0.0.20050609.tar.gz=http://chiharu.hauN.org/peace/dist/
PKGREVISION= 1
CATEGORIES= emulators
MAINTAINER= kent@NetBSD.org
HOMEPAGE= http://chiharu.hauN.org/peace/
COMMENT= Enable to run Win32 executables
PKG_FAIL_REASON+= "Broken on NetBSD/i386 3.0 in pkgsrc-2005Q4"
PKG_FAIL_REASON+= "Will be removed in pkgsrc-2006Q1 unless fixed"
DISTFILES+= peace-${PEACE_VERSION}.tar.gz
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/}
ONLY_FOR_PLATFORM= NetBSD-1.6Z[D-Z]*-* NetBSD-[2-9]*-*
DEPENDS+= icu>=2.4nb1:../../textproc/icu
# 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+= w32api>=2.5:../../devel/w32api
BUILD_DEPENDS+= x11-links-*:../../pkgtools/x11-links
CPPFLAGS+= -I${WRKDIR}/cross/i386-netbsdpe/include
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
MAKE_COMMAND= ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
do-install:
${INSTALL_PROGRAM_DIR} ${PECOFFDIR}/usr/libexec
cd ${WRKSRC}/libexec/ld.pe_so && ${MAKE_COMMAND} install
${INSTALL_DATA_DIR} ${PECOFFDIR}/usr/lib
${_PKG_SILENT}cd ${WRKSRC}/dll && ${MAKE_COMMAND} install
${_PKG_SILENT}cd ${WRKSRC}/bin && ${MAKE_COMMAND} install
.include "../../mk/bsd.pkg.mk"
|