aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/linux-ePSXe/Makefile
blob: 0ba785e9d3957aa7892ba92bf1fa068027b8f3a3 (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
# 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)

USE_LINUX=  yes
USE_LINUX_APPS= gtk xorglibs
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>