blob: c062d395e62fed1be089a035dfd38728826c30f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= minify
PORTVERSION= 2.5.2
DISTVERSIONPREFIX= v
CATEGORIES= textproc www
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Go minifiers for web formats
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= go:modules
GO_TARGET= ./cmd/${GH_PROJECT}
PLIST_FILES= bin/minify
GH_ACCOUNT= tdewolff
GH_TUPLE= dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
golang:sys:749cb33:golang_sys/vendor/golang.org/x/sys \
matryer:try:9ac251b:matryer_try/vendor/github.com/matryer/try \
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \
tdewolff:parse:v2.3.9:tdewolff_parse/vendor/github.com/tdewolff/parse/v2 \
tdewolff:test:v1.0.4:tdewolff_test/vendor/github.com/tdewolff/test
USE_GITHUB= yes
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/minify ${STAGEDIR}${PREFIX}/bin/minify
.include <bsd.port.mk>
|