aboutsummaryrefslogtreecommitdiff
path: root/comms/ems-flasher/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-11 22:37:12 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-11 22:37:12 +0000
commitf774d522164d64fe3d3eeee94553c4d725ff488a (patch)
tree37864e56587f8dc5e235a434a0b1910738b56658 /comms/ems-flasher/Makefile
parent559d220a2a41c960ae338423c5b7f51af79960e1 (diff)
downloadports-f774d522164d64fe3d3eeee94553c4d725ff488a.tar.gz
ports-f774d522164d64fe3d3eeee94553c4d725ff488a.zip
Notes
Diffstat (limited to 'comms/ems-flasher/Makefile')
-rw-r--r--comms/ems-flasher/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/comms/ems-flasher/Makefile b/comms/ems-flasher/Makefile
index 0425ada05b29..15a0a8169b83 100644
--- a/comms/ems-flasher/Makefile
+++ b/comms/ems-flasher/Makefile
@@ -5,30 +5,22 @@ PORTNAME= ems-flasher
PORTVERSION= 0.03
PORTREVISION= 2
CATEGORIES= comms
-MASTER_SITES= http://lacklustre.net/redmine/attachments/download/10/ \
- http://update.cooltrainer.org/freebsd-ports/comms/ems-flasher/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://lacklustre.net/projects/ems-flasher/ \
+ https://cooltrainer.org/freebsd-ports/ems-flasher/
MAINTAINER= root@cooltrainer.org
COMMENT= Utility to flash ROM images to the EMS USB 64mb flash cart
LICENSE= MIT
-USES= gmake
+USES= gmake tar:tgz
CFLAGS+= -g -Wall
LDFLAGS+= -lusb
USE_GCC= yes
PLIST_FILES= bin/ems-flasher
-NO_STAGE= yes
-.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
+ ${INSTALL_PROGRAM} ${WRKSRC}/ems-flasher ${STAGEDIR}${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>