mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
34 lines
832 B
Makefile
34 lines
832 B
Makefile
# 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= SF/fceultra/OldFiles
|
|
|
|
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:
|
|
@${REINPLACE_CMD} -e 's|/etc/fceu-standard.conf|${ETCDIR}/fceu-standard.conf|g' \
|
|
${WRKSRC}/server.cpp
|
|
|
|
do-install:
|
|
@${MKDIR} ${ETCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/fceu-server.conf ${ETCDIR}/fceu-server.conf.sample
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server ${PREFIX}/bin
|
|
@[ -f ${ETCDIR}/fceu-standard.conf ] || \
|
|
${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
|
|
${ETCDIR}/fceu-standard.conf
|
|
|
|
.include <bsd.port.mk>
|