FreeBSD Bugzilla – Attachment 180893 Details for
Bug 217858
[maintainer-update] update www/minio-client to have ability to install as mc if configured
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
port diff file
minio-client.diff (text/plain), 1.34 KB, created by
John Hixson
on 2017-03-17 00:16:49 UTC
(
hide
)
Description:
port diff file
Filename:
MIME Type:
Creator:
John Hixson
Created:
2017-03-17 00:16:49 UTC
Size:
1.34 KB
patch
obsolete
>diff -urN www/minio-client/Makefile www/minio-client/Makefile >--- www/minio-client/Makefile 2017-02-18 02:30:52.000000000 -0800 >+++ www/minio-client/Makefile 2017-03-16 17:13:38.067910000 -0700 >@@ -2,6 +2,7 @@ > > PORTNAME= minio-client > PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= jhixson@gmail.com >@@ -12,6 +13,18 @@ > BUILD_DEPENDS= go>=1.7:lang/go \ > bash:shells/bash > >+OPTIONS_DEFINE= MC >+ >+MC_DESC= Install as mc >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MMC} >+MC= mc >+.else >+MC= ${PORTNAME} >+.endif >+ > USE_GITHUB= yes > GH_ACCOUNT= minio > GH_PROJECT= mc >@@ -20,15 +33,15 @@ > MAKE_ENV= GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go > > STRIP= # stripping can break go binaries >-PLIST_FILES= bin/${PORTNAME} >+PLIST_FILES= bin/${MC} > > do-build: > @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \ > ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ >- -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${PORTNAME} >+ -ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${MC} > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${PORTNAME} \ >- ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >+ ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${MC} \ >+ ${STAGEDIR}${PREFIX}/bin/${MC} > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217858
: 180893