Lines 13-19
Link Here
|
13 |
USES= go |
13 |
USES= go |
14 |
USE_GITHUB= yes |
14 |
USE_GITHUB= yes |
15 |
GH_ACCOUNT= constabulary |
15 |
GH_ACCOUNT= constabulary |
16 |
GH_TUPLE= pkg:errors:645ef00:errors/../src/github.com/pkg/errors |
16 |
GH_TUPLE= pkg:errors:645ef00:errors/vendor/github.com/pkg/errors |
17 |
|
17 |
|
18 |
PLIST_FILES= bin/gb bin/gb-vendor |
18 |
PLIST_FILES= bin/gb bin/gb-vendor |
19 |
|
19 |
|
Lines 22-31
Link Here
|
22 |
OPTIONS_DEFINE= DOCS |
22 |
OPTIONS_DEFINE= DOCS |
23 |
|
23 |
|
24 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} |
24 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} |
25 |
GO_TARGET= ./... |
25 |
GO_TARGET= ./cmd/gb \ |
|
|
26 |
./cmd/gb-vendor |
26 |
|
27 |
|
27 |
do-install: |
28 |
post-install: |
28 |
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/* ${STAGEDIR}/${LOCALBASE}/bin |
|
|
29 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
29 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
30 |
( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ ; ) |
30 |
( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ ; ) |
31 |
|
31 |
|