Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 16:55:54 GMT
From:      Nicole Reid <root@cooltrainer.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166915: [new port] comms/ems-flasher: software for flashing the EMS Gameboy USB 64 MBit cart
Message-ID:  <201204131655.q3DGtsRu091926@red.freebsd.org>
Resent-Message-ID: <201204131700.q3DH0T1b005828@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166915
>Category:       ports
>Synopsis:       [new port] comms/ems-flasher: software for flashing the EMS Gameboy USB 64 MBit cart
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 17:00:28 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Nicole Reid
>Release:        
>Organization:
>Environment:
>Description:
ems-flasher is software for flashing the EMS Gameboy USB 64 MBit cart.
WWW: http://lacklustre.net/redmine/projects/ems-flash/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	ems-flasher
#	ems-flasher/distinfo
#	ems-flasher/pkg-descr
#	ems-flasher/Makefile
#	ems-flasher/files
#	ems-flasher/files/patch-Makefile
#
echo c - ems-flasher
mkdir -p ems-flasher > /dev/null 2>&1
echo x - ems-flasher/distinfo
sed 's/^X//' >ems-flasher/distinfo << '8beb3beb9ff54f9392845198a9d858f1'
XSHA256 (ems-flasher-0.03.tgz) = d77723a3956e00a9b8af9a3545ed2c55cd2653d65137e91b38523f7805316786
XSIZE (ems-flasher-0.03.tgz) = 7135
8beb3beb9ff54f9392845198a9d858f1
echo x - ems-flasher/pkg-descr
sed 's/^X//' >ems-flasher/pkg-descr << '1a0d20eb2e7a533b324f3e1072bace32'
Xems-flasher is software for flashing the EMS Gameboy USB 64 MBit cart.
X
XWWW: http://lacklustre.net/redmine/projects/ems-flash/
1a0d20eb2e7a533b324f3e1072bace32
echo x - ems-flasher/Makefile
sed 's/^X//' >ems-flasher/Makefile << '466c0f9b3431c187bbe1770010971cb8'
X# New ports collection makefile for:	ems-flasher
X# Date created:        2012-03-22
X# Whom:                Nicole Reid <root@cooltrainer.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ems-flasher
XPORTVERSION=	0.03
XCATEGORIES=	comms
XMASTER_SITES=	http://lacklustre.net/redmine/attachments/download/10/ \
X	http://update.cooltrainer.org/freebsd-ports/comms/ems-flasher/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	root@cooltrainer.org
XCOMMENT=	Utility to flash ROM images to the EMS USB 64mb flash cart
X
XLICENSE=	MIT
X
XUSE_GMAKE=	yes
XCFLAGS+=	-g -Wall
XMAKE_ARGS=	CFLAGS="${CFLAGS} ${USB_CFLAGS}" \
X		LDFLAGS="${USB_LDFLAGS}"
XLDFLAGS+="${USB_LDFLAGS}"
XUSE_GCC=	4.6+
X
XPLIST_FILES=	bin/ems-flasher
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 800069
XLIB_DEPENDS+=	usb-0.1.8:${PORTSDIR}/devel/libusb
XUSB_CFLAGS=	`libusb-config --cflags`
XUSB_LDFLAGS=	`libusb-config --libs`
X.else
XUSB_CFLAGS=	# none
XUSB_LDFLAGS=	-lusb
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ems-flasher ${PREFIX}/bin
X
X.include <bsd.port.post.mk>
466c0f9b3431c187bbe1770010971cb8
echo c - ems-flasher/files
mkdir -p ems-flasher/files > /dev/null 2>&1
echo x - ems-flasher/files/patch-Makefile
sed 's/^X//' >ems-flasher/files/patch-Makefile << '6fd2c9b2a2db77fefd2d278097be6ffc'
X--- Makefile.orig	2012-03-22 18:15:08.163459495 -0400
X+++ Makefile	2012-03-22 18:15:36.050459158 -0400
X@@ -1,13 +1,10 @@
X PROG = ems-flasher
X OBJS = ems.o main.o
X 
X-CFLAGS  = -g -Wall -Werror
X-CFLAGS += `pkg-config --cflags libusb-1.0`
X-
X all: $(PROG)
X 
X $(PROG): $(OBJS)
X-	$(CC) -o $(PROG) $(OBJS) `pkg-config --libs libusb-1.0`
X+	$(CC) -o $(PROG) $(OBJS) $(LDFLAGS)
X 
X clean:
X 	rm -f $(PROG) $(OBJS)
6fd2c9b2a2db77fefd2d278097be6ffc
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204131655.q3DGtsRu091926>