[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / rpcemu

File: [cvs.NetBSD.org] / pkgsrc / emulators / rpcemu / Makefile (download)

Revision 1.16, Wed Nov 23 16:19:59 2022 UTC (2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.15: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.16 2022/11/23 16:19:59 adam Exp $

DISTNAME=	rpcemu-0.9.3
PKGREVISION=	14
CATEGORIES=	emulators
MASTER_SITES=	http://www.marutan.net/rpcemu/cgi/download.php?sFName=${PKGVERSION_NOREV}/

MAINTAINER=	js@pkgsrc.org
HOMEPAGE=	https://www.marutan.net/rpcemu/
COMMENT=	Emulator of classic Acorn computer systems
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=	c c++
USE_TOOLS+=	patch
TOOL_DEPENDS+=	qt5-qttools-[0-9]*:../../x11/qt5-qttools

INSTALLATION_DIRS+=	bin

CFLAGS.NetBSD+=	-Dfopen64=fopen
CFLAGS.NetBSD+=	-Dftello64=ftello
CFLAGS.NetBSD+=	-Dfseeko64=fseeko
CFLAGS.NetBSD+=	-Doff64_t=off_t

post-patch:
	${RUN} cd ${WRKSRC}/src && \
		${PATCH} -p1 <${FILESDIR}/rpcemu-0.9.3-mac-patch-v1.patch
	${RUN} ${MKDIR} ${WRKSRC}/src/macosx
	${RUN} cp ${FILESDIR}/Info.plist ${WRKSRC}/src/macosx/Info.plist

do-configure:
	cd ${WRKSRC} && ${QTDIR}/bin/qmake src/qt5/rpcemu.pro

do-install:
	${INSTALL} -m 0755 ${WRKSRC}/rpcemu-interpreter \
		${DESTDIR}${PREFIX}/bin/rpcemu-interpreter

.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"