Changes for this release: * Some minify configuration adjustments * Add minify config * Allow headless bundles to list pages via $page.Pages and $page.RegularPages * Update to Go 1.14.1 and 1.13.9 * Pass directory name to filters in LstatIfPossible in the same way as Readdir * Update to goldmark 1.1.25. * Add workaround for regular CSS imports in SCSS * Add .RegularPagesRecursive * Add data context to the key in ExecuteAsTemplate * Improve Tailwind/PostCSS error messages * Update Blackfriday * Add languageDirection to language configuration * Fix Go build version * Fix GetTerms nil pointer * Fix scss vs css import regexp * Fix --templateMetricsHints * Try to fix a Go 1.15 go vet error ok jca@
37 lines
682 B
Makefile
37 lines
682 B
Makefile
# $OpenBSD: Makefile,v 1.14 2020/03/21 12:48:36 paco Exp $
|
|
ONLY_FOR_ARCHS = ${GO_ARCHS}
|
|
|
|
COMMENT = fast and flexible static site generator
|
|
|
|
DISTNAME = hugo-0.68.0
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = https://gohugo.io/
|
|
|
|
MAINTAINER = Paco Esteban <paco@openbsd.org>
|
|
|
|
#Apache License 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MASTER_SITES = https://e1e0.net/dist/
|
|
|
|
MODULES = lang/go
|
|
|
|
NO_TEST = Yes
|
|
|
|
ALL_TARGET = github.com/gohugoio/hugo
|
|
|
|
SEPARATE_BUILD = Yes
|
|
|
|
post-build:
|
|
cd ${MODGO_WORKSPACE}/bin/ && ./hugo gen man
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/hugo ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${MODGO_WORKSPACE}/bin/man/*.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|