mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert USE_GMAKE to USES
- Add stage support
This commit is contained in:
parent
ce4f51124d
commit
2efbeeddf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336133
@ -15,20 +15,17 @@ LICENSE_COMB= dual
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
MAKE_ARGS= CC="${CC}" \
|
||||
CFLAGS="${CFLAGS} ${USB_CFLAGS}" \
|
||||
LDFLAGS="${USB_LDFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/gplink
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
USB_CFLAGS= # none
|
||||
USB_LDFLAGS= -lusb
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gplink ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gplink ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user