summaryrefslogtreecommitdiff
path: root/misc/gplink
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-10-19 11:16:00 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-10-19 11:16:00 +0000
commitf1093832cb1a75ffd555e844036a78540e3e7f08 (patch)
treeb0cde9e01a50b1b278636eb23331ebd3bd4c57e7 /misc/gplink
parentmath/spectra: Spell TEST_DEPENDS correctly (diff)
misc/gplink: Drop no longer useful USB_CFLAGS, USB_LDFLAGS
It was useful when we still had devel/libusb but is now just noise. - Respect LDFLAGS - Use WRKSRC_SUBDIR
Notes
Notes: svn path=/head/; revision=514787
Diffstat (limited to 'misc/gplink')
-rw-r--r--misc/gplink/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/gplink/Makefile b/misc/gplink/Makefile
index a02d9e5ae20c..b679e55d5b8e 100644
--- a/misc/gplink/Makefile
+++ b/misc/gplink/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gplink
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://gp2x.org/gp32/gplink/ \
http://www.gnu-darwin.org/distfiles/
@@ -13,18 +14,15 @@ 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}"
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+LDFLAGS+= -lusb
+WRKSRC_SUBDIR= src
PLIST_FILES= bin/gplink
-USB_CFLAGS= # none
-USB_LDFLAGS= -lusb
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gplink ${STAGEDIR}${PREFIX}/bin