2008-02-15 09:49:44 +01:00
|
|
|
# New ports collection makefile for: emulators/catapult
|
|
|
|
# Date created: 14 November 2007
|
|
|
|
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
|
|
|
|
#
|
2008-08-27 14:30:52 +02:00
|
|
|
# $Carpetsmoker: ports/emulators/catapult/Makefile,v 1.2 2008/07/21 12:54:29 carpetsmoker Exp $
|
2008-02-15 09:49:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= catapult
|
|
|
|
PORTVERSION= 0.6.3R1
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 4
|
2008-02-15 09:49:44 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= openmsx
|
|
|
|
DISTNAME= openmsx-${PORTNAME}-${PORTVERSION:S/R1/-R1/}
|
|
|
|
|
2009-08-02 04:51:50 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-02-15 09:49:44 +01:00
|
|
|
COMMENT= GUI for openMSX
|
|
|
|
|
|
|
|
BUILD_DEPENDS= openmsx:${PORTSDIR}/emulators/openmsx
|
|
|
|
RUN_DEPENDS= openmsx:${PORTSDIR}/emulators/openmsx
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
MAKE_ARGS+= INSTALL_BASE=${PREFIX} \
|
|
|
|
INSTALL_SHARE_DIR=${DATADIR} \
|
|
|
|
INSTALL_DOC_DIR=${DOCSDIR} \
|
|
|
|
CATAPULT_OPENMSX_BINARY=${LOCALBASE}/bin/openmsx \
|
|
|
|
CATAPULT_OPENMSX_SHARE=${LOCALBASE}/share/openmsx
|
|
|
|
USE_WX= 2.6
|
|
|
|
USE_GNOME= libxml2
|
|
|
|
|
|
|
|
post-patch:
|
2008-02-20 14:54:52 +01:00
|
|
|
@${REINPLACE_CMD} 's|freebsd5\*|freebsd*|; s|x86_64)|amd64)|;' \
|
|
|
|
${WRKSRC}/build/detectsys.sh
|
2008-02-15 09:49:44 +01:00
|
|
|
@${REINPLACE_CMD} 's|@$$(CXX)|$$(CXX)|' ${WRKSRC}/build/main.mk
|
|
|
|
@${REINPLACE_CMD} 's|INSTALL_BASE|INSTALL_SHARE_DIR|' ${WRKSRC}/build/info2code.mk
|
|
|
|
@${REINPLACE_CMD} 's|wx-config|${WX_CONFIG}|g' \
|
|
|
|
${WRKSRC}/build/main.mk ${WRKSRC}/build/probe.mk
|
2008-08-27 14:30:52 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/build-main.mk
|
|
|
|
.endif
|
2008-02-15 09:49:44 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|