aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/minify/Makefile
diff options
context:
space:
mode:
authorla-ninpre <aaoth@aaoth.xyz>2023-05-03 17:40:34 +0300
committerla-ninpre <aaoth@aaoth.xyz>2023-05-03 17:40:34 +0300
commit0fa2b14b3130a82ef218fc249c203b6c22798056 (patch)
treec21aae7db63c77ca4257858fb03c4d6ebd4087ff /textproc/minify/Makefile
parent4c5117bd09b8c44fb21c10b68eb692346cbeaff8 (diff)
downloadports-0fa2b14b3130a82ef218fc249c203b6c22798056.tar.gz
ports-0fa2b14b3130a82ef218fc249c203b6c22798056.zip
textproc/minify: add 2.12.5
Diffstat (limited to 'textproc/minify/Makefile')
-rw-r--r--textproc/minify/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/minify/Makefile b/textproc/minify/Makefile
new file mode 100644
index 0000000..eb9700a
--- /dev/null
+++ b/textproc/minify/Makefile
@@ -0,0 +1,25 @@
+COMMENT = minifier for web formats
+
+DISTNAME = minify-${MODGO_VERSION}
+
+CATEGORIES = textproc
+
+HOMEPAGE = https://go.tacodewolff.nl/minify
+
+MAINTAINER = la ninpre <aaoth@aaoth.xyz>
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB += c pthread
+
+MODGO_MODNAME = github.com/tdewolff/minify/v2
+MODGO_VERSION = v2.12.5
+MODGO_LDFLAGS += -X main.Version="${MODGO_VERSION}"
+MODULES = lang/go
+
+ALL_TARGET = ${MODGO_MODNAME}/cmd/minify
+
+.include "modules.inc"
+
+.include <bsd.port.mk>