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

PORTNAME=   gplink
PORTVERSION=    1.5
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

WRKSRC=     ${WRKDIR}/${DISTNAME}/src

USES=       gmake
MAKE_ARGS=  CC="${CC}" \
        CFLAGS="${CFLAGS} ${USB_CFLAGS}" \
        LDFLAGS="${USB_LDFLAGS}"

PLIST_FILES=    bin/gplink

USB_CFLAGS= # none
USB_LDFLAGS=    -lusb

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

.include <bsd.port.mk>