2003-09-21 18:03:39 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2003/09/21 16:03:41 kent Exp $
|
2002-08-21 17:17:46 +02:00
|
|
|
#
|
2003-09-21 18:03:39 +02:00
|
|
|
PEACE_VERSION= 20030919
|
2002-08-21 17:17:46 +02:00
|
|
|
DISTNAME= peace-0.0.${PEACE_VERSION}
|
2003-09-21 18:03:39 +02:00
|
|
|
SITES_peace-20030919.tar.gz=http://cvs.kshosen.ac.jp/PEACE/src/
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/peace
|
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
|
|
|
|
|
2003-08-28 17:23:57 +02:00
|
|
|
DISTFILES+= i386-netbsdpe-stl-3.3.tgz \
|
2002-08-21 17:17:46 +02:00
|
|
|
peace-${PEACE_VERSION}.tar.gz
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=peace/}
|
2003-08-28 17:23:57 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.6[Q-Z]*-* NetBSD-[2-9]*-*
|
2002-08-21 17:17:46 +02:00
|
|
|
# bin/showstack requires perl5
|
|
|
|
# DEPENDS+= perl5:../../lang/perl5
|
2003-08-28 17:23:57 +02:00
|
|
|
DEPENDS+= icu>=2.4nb1:../../textproc/icu
|
2002-08-21 17:17:46 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= cross-i386-netbsdpe>=1.3:../../cross/i386-netbsdpe
|
2003-09-21 18:03:39 +02:00
|
|
|
BUILD_DEPENDS+= w32api>=2.4:../../devel/w32api
|
2003-08-28 17:23:57 +02:00
|
|
|
BUILD_DEPENDS+= x11-links-*:../../x11-links
|
|
|
|
CPPFLAGS+= -I${WRKDIR}/cross/i386-netbsdpe/include \
|
2002-08-21 17:17:46 +02:00
|
|
|
-I${WRKDIR}/cross/i386-netbsdpe/include/c++
|
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"
|