blob: debfb2c7925a0f6c0fb4cf636157e7295ac9acf6 (
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
|
# 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= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fceultra
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>
|