Date: Thu, 4 Aug 2011 03:24:18 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159485: Update port: misc/gplink Message-ID: <20110804032418.f2ff5414.tkato432@yahoo.com> Resent-Message-ID: <201108031840.p73IeZ98077749@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159485 >Category: ports >Synopsis: Update port: misc/gplink >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 03 18:40:35 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p2 i386 >Organization: >Environment: >Description: - Add LICENSE - Add MAKE_JOBS_SAFE - Fix WWW: line >How-To-Repeat: >Fix: diff -urN /usr/ports/misc/gplink/Makefile misc/gplink/Makefile --- /usr/ports/misc/gplink/Makefile 2011-06-22 16:05:49.000000000 +0900 +++ misc/gplink/Makefile 2011-08-01 01:26:42.000000000 +0900 @@ -14,23 +14,28 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A GP32 USB linker tool -USE_GMAKE= yes +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + WRKSRC= ${WRKDIR}/${DISTNAME}/src +USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" \ + CFLAGS="${CFLAGS} ${USB_CFLAGS}" \ + LDFLAGS="${USB_LDFLAGS}" +MAKE_JOBS_SAFE= yes + PLIST_FILES= bin/gplink .include <bsd.port.pre.mk> .if ${OSVERSION} < 800069 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb -.endif - -post-patch: - @${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile -.if ${OSVERSION} >= 800069 - @${REINPLACE_CMD} -E -e 's,`libusb-config --cflags`,,g' \ - -e 's,`libusb-config --libs`,-lusb,g' \ - ${WRKSRC}/Makefile +USB_CFLAGS= `libusb-config --cflags` +USB_LDFLAGS= `libusb-config --libs` +.else +USB_CFLAGS= # none +USB_LDFLAGS= -lusb .endif do-install: diff -urN /usr/ports/misc/gplink/pkg-descr misc/gplink/pkg-descr --- /usr/ports/misc/gplink/pkg-descr 2011-08-03 15:39:39.000000000 +0900 +++ misc/gplink/pkg-descr 2011-07-14 05:28:54.000000000 +0900 @@ -1,2 +1,4 @@ gplink is a gp32 linking tool with support for upload, download delete files create and remove directories, run files, etc in the smc card on the GP32. + +WWW: http://gp2x.org/gp32/gplink/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032418.f2ff5414.tkato432>