rsadowski 64b35f6050 Update hugo to 0.53
From Kevin Wondratsch (Maintainer) Thanks!
2018-12-27 17:39:35 +00:00

37 lines
705 B
Makefile

# $OpenBSD: Makefile,v 1.7 2018/12/27 17:39:35 rsadowski Exp $
ONLY_FOR_ARCHS = ${GO_ARCHS}
COMMENT = fast and flexible static site generator
DISTNAME = hugo-0.53
CATEGORIES = www
HOMEPAGE = https://gohugo.io/
MAINTAINER = Kevin Wondratsch <bsd@kwondratsch.com>
#Apache License 2.0
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c pthread
MASTER_SITES = https://files.fairydust.space/
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>