summaryrefslogtreecommitdiffstats
path: root/emulators/xzx/Makefile
blob: 04fc83c9565549abce91831b791ff4c38c655050 (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
# Created by: Sheldon Hearn <axl@iafrica.com>
# $FreeBSD$

PORTNAME=	xzx
PORTVERSION=	4.6
PORTREVISION=	5
CATEGORIES=	emulators
MASTER_SITES=	http://wos.meulie.net/pub/sinclair/emulators/unix/ \
		http://fossies.org/linux/misc/old/
DISTNAME=	${PORTNAME}-pro-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	ZX Spectrum (48K/128K/+3) Emulator for X11

RESTRICTED=	Redistribution forbidden by license

USES=		imake:env motif
USE_XORG=	x11 ice sm xext xpm xt xxf86vm

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-oss

DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-pro

OPTIONS_DEFINE=	DOCS

pre-configure:
	@${REINPLACE_CMD} 's,(pkglibdir),(datadir)/doc/@PACKAGE@,' ${WRKSRC}/doc/Makefile.in

# Prevent configure from trying to run auto* since it's not needed and will
# error if auto* < 2.54
post-configure:
		@${REINPLACE_CMD} 's@autoheader@${TRUE}@g' ${WRKSRC}/Makefile
		@${REINPLACE_CMD} 's@autoconf@${TRUE}@g' ${WRKSRC}/Makefile
		@${ECHO_CMD} "${TRUE}" > ${WRKSRC}/missing

.include <bsd.port.mk>
OpenPOWER on IntegriCloud