2efbeeddf1
- Add stage support
31 lines
584 B
Makefile
31 lines
584 B
Makefile
# 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>
|