If somebody is removed who actually wants maintainer and either didn't receive the mail, or didn't bother to reply to it, they are free to send a diff to reinstate. ok sthen@, jca@
36 lines
654 B
Makefile
36 lines
654 B
Makefile
# $OpenBSD: Makefile,v 1.9 2019/07/17 14:39:44 danj Exp $
|
|
ONLY_FOR_ARCHS = ${GO_ARCHS}
|
|
|
|
COMMENT = fast and flexible static site generator
|
|
|
|
DISTNAME = hugo-0.53
|
|
REVISION = 0
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = https://gohugo.io/
|
|
|
|
#Apache License 2.0
|
|
PERMIT_PACKAGE = 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>
|