summaryrefslogtreecommitdiff
path: root/comms/ems-flasher/Makefile
blob: ff9615781f91eca6c94d791bb6504c6001a54b03 (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
35
36
# New ports collection makefile for:	ems-flasher
# Date created:        2012-03-22
# Whom:                Nicole Reid <root@cooltrainer.org>
#
# $FreeBSD$
#

PORTNAME=	ems-flasher
PORTVERSION=	0.03
CATEGORIES=	comms
MASTER_SITES=	http://lacklustre.net/redmine/attachments/download/10/ \
	http://update.cooltrainer.org/freebsd-ports/comms/ems-flasher/
EXTRACT_SUFX=	.tgz

MAINTAINER=	root@cooltrainer.org
COMMENT=	Utility to flash ROM images to the EMS USB 64mb flash cart

LICENSE=	MIT

USE_GMAKE=	yes
CFLAGS+=	-g -Wall
LDFLAGS+=	-lusb
USE_GCC=	4.6+

PLIST_FILES=	bin/ems-flasher

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
IGNORE=	does not compile with the old USB stack
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ems-flasher ${PREFIX}/bin

.include <bsd.port.post.mk>