summaryrefslogtreecommitdiff
path: root/emulators/linux-ePSXe/Makefile
blob: 9f20ab54ffeb1433f3a362b7b1397ce8af56a603 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	linux-ePSXe
# Date created:			21 Dec 2002
# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=	epsxe
PORTVERSION=	1.6.0
PORTREVISION=	3
CATEGORIES=	emulators linux
MASTER_SITES=	http://www.epsxe.com/files/
PKGNAMEPREFIX=	linux-
DISTNAME=	epsxe160lin

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Sony Playstation emulator (Linux version)

RUN_DEPENDS=	${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk

USE_LINUX=	yes
USE_XLIB=	yes
USE_ZIP=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
ONLY_FOR_ARCHS=	i386 amd64

SUB_FILES=	epsxe-wrapper

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/epsxe-wrapper ${PREFIX}/bin/epsxe
	${INSTALL_PROGRAM} ${WRKSRC}/epsxe ${PREFIX}/libexec

	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/keycodes.lst ${DATADIR}

	${MKDIR} ${DATADIR}/cheats
	${INSTALL_DATA} ${WRKSRC}/cheats/* ${DATADIR}/cheats

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>