ports/114997: New port: <emulators>/<fceu-server> <The network play server for the NES/Famicom emulator fceu>

Pontus Stenetorp ninjin at kth.se
Sun Jul 29 00:10:07 UTC 2007


The following reply was made to PR ports/114997; it has been noted by GNATS.

From: Pontus Stenetorp <ninjin at kth.se>
To: bug-followup at FreeBSD.org, Pontus Stenetorp <ninjin at kth.se>
Cc:  
Subject: Re: ports/114997: New port: <emulators>/<fceu-server> <The network
 play server for the NES/Famicom emulator fceu>
Date: Sun, 29 Jul 2007 02:02:27 +0200

 This is a multi-part message in MIME format.
 --------------040408050205060401050700
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Alright, now I've made a complete fool of myself.
 
 shar `find . -print` > fceu-server-0.0.5.shar.txt
 
 Now, this command might seem rather friendly. You keep keep all the port 
 files in it's directory and after all if the shar isn't there when find 
 is executed and should therefore not be included, thought the young 
 padawan. How ever, it's a stream, find spots the shar and tada! You have 
 made the same mistake twice.
 
 And now, if you excuse me, I am to buy a one way ticket to Berkley and 
 commit Harakiri in a dark server room using a sharpened keyboard.
 
 --------------040408050205060401050700
 Content-Type: text/plain;
  name="fceu-server-0.0.5.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="fceu-server-0.0.5.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	.
 #	./Makefile
 #	./distinfo
 #	./files
 #	./files/patch-server.cpp
 #	./files/patch-Makefile
 #	./pkg-descr
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo x - ./Makefile
 sed 's/^X//' >./Makefile << 'END-of-./Makefile'
 X# New ports collection makefile for: fceu-server
 X# Date created:		28 July 2007
 X# Whom:			Pontus Stenetorp <ninjin at kth.se>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	fceu-server
 XPORTVERSION=	0.0.5
 XCATEGORIES=	emulators
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	fceultra
 XDISTNAME=	${PORTNAME}-${PORTVERSION}
 X
 XMAINTAINER=	ninjin at kth.se
 XCOMMENT=	The network play server for the NES/Famicom emulator fceu
 X
 XUSE_GMAKE=	yes
 XUSE_SDL=	sdl
 X
 XPLIST_FILES=	bin/fceu-server
 XEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
 X
 X.if !defined(WITHOUT_EXAMPLES)
 XPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
 XPLIST_DIRS=	share/examples/${PORTNAME}
 X.endif
 X
 Xpre-install:
 X	@${MKDIR} ${EXAMPLESDIR}
 X
 Xdo-install:
 X	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
 X
 Xpost-install:
 X.if !defined(WITHOUT_EXAMPLES)
 X	( ${MKDIR} ${EXAMPLESDIR} && \
 X		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 X		${EXAMPLESDIR}/fceu-server.conf.sample )
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-./Makefile
 echo x - ./distinfo
 sed 's/^X//' >./distinfo << 'END-of-./distinfo'
 XMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
 XSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
 XSIZE (fceu-server-0.0.5.tar.gz) = 18623
 END-of-./distinfo
 echo c - ./files
 mkdir -p ./files > /dev/null 2>&1
 echo x - ./files/patch-server.cpp
 sed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
 X--- server.cpp.orig	Tue Jul  4 01:25:22 2006
 X+++ server.cpp	Sat Jul 28 21:10:15 2007
 X@@ -47,6 +47,7 @@
 X #define DEFAULT_TIMEOUT 5
 X #define DEFAULT_FRAMEDIVISOR 1
 X #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
 X+#define SOL_TCP 6
 X 
 X typedef struct {
 X 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
 END-of-./files/patch-server.cpp
 echo x - ./files/patch-Makefile
 sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
 X--- Makefile.orig	Sat Jul 28 22:48:53 2007
 X+++ Makefile	Sat Jul 28 22:49:49 2007
 X@@ -12,8 +12,8 @@
 X 		rm ${OUTFILE} ${OBJS}
 X 
 X install:
 X-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X 
 X server.o:	server.cpp
 X md5.o:		md5.cpp
 END-of-./files/patch-Makefile
 echo x - ./pkg-descr
 sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
 XThis is a port of the FCE Ultra network play server.
 X
 XWWW: http://fceultra.sourceforge.net/
 END-of-./pkg-descr
 exit
 
 
 --------------040408050205060401050700--



More information about the freebsd-ports-bugs mailing list