mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
f5d05ea54d
- Mark sane-backends broken on current due to changes in USB stack. Reviewed by: thompsa (old version), miwi Tested by: miwi
38 lines
746 B
Makefile
38 lines
746 B
Makefile
# New ports collection makefile for: gplink
|
|
# Date created: Sun Dec 5 23:17:44 CET 2004
|
|
# Whom: king@v2project.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gplink
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://gp2x.org/gp32/gplink/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GP32 USB linker tool
|
|
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
PLIST_FILES= bin/gplink
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800069
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
.endif
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} >= 800069
|
|
@${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \
|
|
-e 's,`libusb-config --libs`,-lusb,g' \
|
|
${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gplink ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|