Lines 12-34
Link Here
|
12 |
LICENSE= MIT |
12 |
LICENSE= MIT |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.md |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.md |
14 |
|
14 |
|
15 |
USES= go |
15 |
USES= go:modules |
16 |
|
16 |
|
17 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} |
17 |
GO_TARGET= ./cmd/${PORTNAME} |
18 |
GO_TARGET= ${GO_PKGNAME}/cmd/${GH_PROJECT} |
|
|
19 |
|
18 |
|
20 |
PLIST_FILES= bin/minify |
19 |
PLIST_FILES= bin/minify |
21 |
|
20 |
|
22 |
GH_ACCOUNT= tdewolff |
21 |
GH_ACCOUNT= tdewolff |
23 |
GH_TUPLE= dustin:go-humanize:v1.0.0:dustin_go_humanize/../src/github.com/dustin/go-humanize \ |
22 |
GH_TUPLE= dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ |
24 |
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/../src/github.com/fsnotify/fsnotify \ |
23 |
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ |
25 |
golang:sys:61b9204:golang_sys/../src/golang.org/x/sys \ |
24 |
golang:sys:61b9204:golang_sys/vendor/golang.org/x/sys \ |
26 |
matryer:try:v1:matryer_try/../src/github.com/matryer/try \ |
25 |
matryer:try:v1:matryer_try/vendor/github.com/matryer/try \ |
27 |
spf13:pflag:v1.0.3:spf13_pflag/../src/github.com/spf13/pflag \ |
26 |
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ |
28 |
tdewolff:parse:v2.3.7:tdewolff_parse/../src/github.com/tdewolff/parse |
27 |
tdewolff:parse:v2.3.7:tdewolff_parse/vendor/github.com/tdewolff/parse/v2 |
29 |
USE_GITHUB= yes |
28 |
USE_GITHUB= yes |
30 |
|
29 |
|
31 |
do-install: |
|
|
32 |
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/minify ${STAGEDIR}${PREFIX}/bin/minify |
33 |
|
34 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |