summaryrefslogtreecommitdiff
path: root/sysutils/fluxengine/Makefile
blob: 6dce9dd42eedc4fcf5a2815dfe5a53707070bca5 (plain)
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

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

BUILD_DEPENDS=	ninja:devel/ninja

USES=		pkgconfig gmake compiler:gcc-c++11-lib 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>