summaryrefslogtreecommitdiff
path: root/misc/gplink/Makefile
blob: bbb0b3b9dbeff9fb78f822a9e529400e817b3f62 (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
# Created by: king@v2project.com

PORTNAME=	gplink
PORTVERSION=	1.5
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://gp2x.org/gp32/gplink/ \
		http://www.gnu-darwin.org/distfiles/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GP32 USB linker tool

LICENSE=	GPLv2 GPLv3
LICENSE_COMB=	dual

USES=		gmake
MAKE_ARGS=	CC="${CC}" \
		CFLAGS="${CFLAGS}" \
		LDFLAGS="${LDFLAGS}"
LDFLAGS+=	-lusb
WRKSRC_SUBDIR=	src

CONFLICTS_INSTALL=	gputils # bin/gplink

PLIST_FILES=	bin/gplink

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gplink ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>