blob: 9cfc6cb0fcfd889c5ec802fb86ffa445a2b9c5de (
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
|
# New ports collection makefile for: fceu
# Date Created: 10 Mov 2002
# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
#
# $FreeBSD$
#
PORTNAME= fceux
PORTVERSION= 2.1.4a
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= SF/fceultra/Source%20Code/2.1.4%20src/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= davide.italiano@gmail.com
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
USE_BZIP2= yes
USE_SCONS= yes
USE_SDL= sdl
USE_DOS2UNIX= yes
USE_LUA= yes
WRKSRC= ${WRKDIR}/fceu${PORTVERSION}
BUILD_DEPENDS+= zenity:${PORTSDIR}/x11/zenity
MAN6= fceux.6
.include <bsd.port.pre.mk>
post-extract:
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
${WRKSRC}/src/drivers/common/vidblit.cpp
@${MV} ${WRKSRC}/documentation/fceux.6 ${WRKSRC}/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/fceux ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fceux.6 ${PREFIX}/man/man6
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>
|