2007-08-19 16:53:58 +02:00
|
|
|
# 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
|
2008-03-13 15:28:35 +01:00
|
|
|
PORTREVISION= 2
|
2007-08-19 16:53:58 +02:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/fceultra/OldFiles
|
2007-08-19 16:53:58 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-patch:
|
2007-08-31 11:44:24 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc/fceu-standard.conf|${ETCDIR}/fceu-standard.conf|g' \
|
2007-08-19 16:53:58 +02:00
|
|
|
${WRKSRC}/server.cpp
|
|
|
|
|
|
|
|
do-install:
|
2007-08-31 11:44:24 +02:00
|
|
|
@${MKDIR} ${ETCDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/fceu-server.conf ${ETCDIR}/fceu-server.conf.sample
|
2007-08-19 16:53:58 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server ${PREFIX}/bin
|
2007-08-31 11:44:24 +02:00
|
|
|
@[ -f ${ETCDIR}/fceu-standard.conf ] || \
|
2007-08-19 16:53:58 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
|
2007-08-31 11:44:24 +02:00
|
|
|
${ETCDIR}/fceu-standard.conf
|
2007-08-19 16:53:58 +02:00
|
|
|
|
2009-01-05 20:44:02 +01:00
|
|
|
.include <bsd.port.mk>
|