aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fluxengine/Makefile
blob: f59f46613c09aa3f53ac7395409ba97a6210a858 (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
PORTNAME=	fluxengine
DISTVERSION=	572
CATEGORIES=	sysutils

MAINTAINER=	probono@puredarwin.org
COMMENT=	USB floppy disk interface for reading and writing non-PC disk formats

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING.md

USES=		compiler:gcc-c++11-lib gmake ninja:build pkgconfig sqlite

USE_GITHUB=	yes
GH_ACCOUNT=	davidgiven
GH_TAGNAME=	61ff48c

PLIST_FILES=	bin/brother120tool \
		bin/brother240tool \
		bin/fluxengine

post-patch:
	${REINPLACE_CMD} 's,^\(export CXX = \).*,\1${CXX},' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/brother120tool ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/brother240tool ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/fluxengine ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>