blob: 2015ef39632e89089320ed73e3a40cc572f3ea18 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: fceu
# Date Created: 10 Mov 2002
# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
#
# $FreeBSD$
#
PORTNAME= fceu
PORTVERSION= 0.98.13
CATEGORIES= emulators
MASTER_SITES= http://bsd-unix.org/downloads/
DISTNAME= ${PORTNAME}-${PORTVERSION}-pre.src
MAINTAINER= xcas@cox.net
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
USE_BZIP2= yes
USE_GCC= 3.4
USE_GMAKE= yes
USE_REINPLACE= yes
USE_SDL= sdl
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/fceu
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN6= fceu.6
PLIST_FILES= bin/fceu %%DOCSDIR%%/cheat.html %%DOCSDIR%%/faq.html \
%%DOCSDIR%%/fceultra.html %%DOCSDIR%%/fcm.txt \
%%DOCSDIR%%/fcs.txt %%DOCSDIR%%/protocol.txt
PLIST_DIRS= %%DOCSDIR%%
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not configure"
.endif
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
post-extract:
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/src/drivers/common/vidblit.c
pre-build:
@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/cheat.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/faq.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fceultra.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fcm.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fcs.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/protocol.txt ${DOCSDIR}
.include <bsd.port.post.mk>
|