2004-06-11 14:59:27 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2004/06/11 12:59:27 kent Exp $
|
2002-08-21 17:17:46 +02:00
|
|
|
#
|
2004-06-11 14:59:27 +02:00
|
|
|
PEACE_VERSION= 0.0.20040611
|
2004-03-09 13:40:13 +01:00
|
|
|
DISTNAME= peace-${PEACE_VERSION}
|
2004-06-11 14:59:27 +02:00
|
|
|
SITES_peace-0.0.20040611.tar.gz=http://chiharu.hauN.org/peace/dist/
|
2002-08-21 17:17:46 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
MAINTAINER= peace-sacrifice@hauN.org
|
|
|
|
HOMEPAGE= http://chiharu.hauN.org/peace/
|
|
|
|
COMMENT= Enable to run Win32 executables
|
|
|
|
|
2004-03-09 13:40:13 +01:00
|
|
|
DISTFILES+= peace-${PEACE_VERSION}.tar.gz
|
2002-08-21 17:17:46 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/}
|
2004-03-09 13:40:13 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.6Z[D-Z]*-* NetBSD-[2-9]*-*
|
2003-08-28 17:23:57 +02:00
|
|
|
DEPENDS+= icu>=2.4nb1:../../textproc/icu
|
2004-06-11 14:59:27 +02:00
|
|
|
# bin/showstack requires perl5 and cross-i386-netbsdpe
|
|
|
|
# DEPENDS+= perl5:../../lang/perl5
|
|
|
|
# DEPENDS+= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
|
2002-08-21 17:17:46 +02:00
|
|
|
|
2004-03-09 13:40:13 +01:00
|
|
|
BUILD_DEPENDS= cross-i386-netbsdpe>=3.3:../../cross/i386-netbsdpe
|
|
|
|
BUILD_DEPENDS+= w32api>=2.5:../../devel/w32api
|
2003-09-25 11:19:28 +02:00
|
|
|
BUILD_DEPENDS+= x11-links-*:../../pkgtools/x11-links
|
2004-01-20 13:07:06 +01:00
|
|
|
|
2004-03-09 13:40:13 +01:00
|
|
|
CPPFLAGS+= -I${WRKDIR}/cross/i386-netbsdpe/include
|
2003-08-28 17:23:57 +02:00
|
|
|
LDFLAGS= -L${WRKSRC}/lib
|
2002-08-21 17:17:46 +02:00
|
|
|
PECOFFDIR= ${PREFIX}/emul/pecoff
|
|
|
|
MAKE_FLAGS+= PECOFFDIR=${PECOFFDIR} \
|
2003-08-28 17:23:57 +02:00
|
|
|
LOCALBASE=${LOCALBASE} \
|
2002-08-21 17:17:46 +02:00
|
|
|
CROSSBASE=${CROSSBASE} \
|
2003-08-28 17:23:57 +02:00
|
|
|
X11BASE=${X11BASE} \
|
2002-08-21 17:17:46 +02:00
|
|
|
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"
|