This is a port of the FCE Ultra network play server.
WWW: http://fceultra.sourceforge.net/ PR: ports/114997 Submitted by: Pontus Stenetorp <ninjin at kth.se>
This commit is contained in:
parent
314b66f72e
commit
25a9c5b380
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197920
5 changed files with 54 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
SUBDIR += e-uae
|
||||
SUBDIR += extract-xiso
|
||||
SUBDIR += fceu
|
||||
SUBDIR += fceu-server
|
||||
SUBDIR += fmsx
|
||||
SUBDIR += frodo
|
||||
SUBDIR += fuse
|
||||
|
|
43
emulators/fceu-server/Makefile
Normal file
43
emulators/fceu-server/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: fceu-server
|
||||
# Date created: 28 July 2007
|
||||
# Whom: Pontus Stenetorp <ninjin@kth.se>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fceu-server
|
||||
PORTVERSION= 0.0.5
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= fceultra
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ninjin@kth.se
|
||||
COMMENT= The network play server for the NES/Famicom emulator fceu
|
||||
|
||||
CFLAGS+= -DSOL_TCP=6
|
||||
USE_GMAKE= yes
|
||||
USE_SDL= sdl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
IGNORE= does not build on FreeBSD 5.X
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/fceu-standard.conf|${PREFIX}/etc/${PORTNAME}/fceu-standard.conf|g' \
|
||||
${WRKSRC}/server.cpp
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/etc/${PORTNAME}
|
||||
@${INSTALL_DATA} ${WRKSRC}/fceu-server.conf ${PREFIX}/etc/${PORTNAME}/fceu-server.conf.sample
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/etc/${PORTNAME}
|
||||
@[ -f ${PREFIX}/etc/${PORTNAME}/fceu-standard.conf ] || \
|
||||
${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
|
||||
${PREFIX}/etc/${PORTNAME}/fceu-standard.conf
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
emulators/fceu-server/distinfo
Normal file
3
emulators/fceu-server/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
|
||||
SHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
|
||||
SIZE (fceu-server-0.0.5.tar.gz) = 18623
|
3
emulators/fceu-server/pkg-descr
Normal file
3
emulators/fceu-server/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
This is a port of the FCE Ultra network play server.
|
||||
|
||||
WWW: http://fceultra.sourceforge.net/
|
4
emulators/fceu-server/pkg-plist
Normal file
4
emulators/fceu-server/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
bin/fceu-server
|
||||
@unexec if cmp -s %%PREFIX%%/etc/fceu-server/fceu-standard.conf %%PREFIX%%/etc/fceu-server/fceu-server.conf.sample; then rm %%PREFIX%%/etc/fceu-server/fceu-standard.conf; fi
|
||||
etc/fceu-server/fceu-server.conf.sample
|
||||
@dirrmtry etc/fceu-server
|
Loading…
Reference in a new issue