Changeset View
Changeset View
Standalone View
Standalone View
head/www/gohugo/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= hugo | PORTNAME= hugo | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 0.58.3 | DISTVERSION= 0.59.0 | ||||
CATEGORIES= www | CATEGORIES= www | ||||
PKGNAMEPREFIX= go | PKGNAMEPREFIX= go | ||||
DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} | DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} | ||||
MAINTAINER= ben.lavery@hashbang0.com | MAINTAINER= ben.lavery@hashbang0.com | ||||
COMMENT= Fast and flexible static site generator | COMMENT= Fast and flexible static site generator | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
USES= go:modules | USES= go:modules | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= gohugoio | GH_ACCOUNT= gohugoio | ||||
GH_TUPLE= \ | GH_TUPLE= \ | ||||
Azure:azure-pipeline-go:v0.1.9:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \ | Azure:azure-pipeline-go:v0.1.9:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \ | ||||
Azure:azure-storage-blob-go:v0.6.0:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \ | Azure:azure-storage-blob-go:v0.6.0:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \ | ||||
BurntSushi:locker:a6e239ea1c69:burntsushi_locker/vendor/github.com/BurntSushi/locker \ | BurntSushi:locker:a6e239ea1c69:burntsushi_locker/vendor/github.com/BurntSushi/locker \ | ||||
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ | BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ | ||||
PuerkitoBio:purell:v1.1.0:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \ | PuerkitoBio:purell:v1.1.0:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \ | ||||
PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \ | PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \ | ||||
alecthomas:chroma:v0.6.4:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ | alecthomas:chroma:v0.6.7:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ | ||||
armon:go-radix:v1.0.0:armon_go_radix/vendor/github.com/armon/go-radix \ | armon:go-radix:v1.0.0:armon_go_radix/vendor/github.com/armon/go-radix \ | ||||
aws:aws-sdk-go:v1.19.40:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ | aws:aws-sdk-go:v1.19.40:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ | ||||
bep:debounce:v1.2.0:bep_debounce/vendor/github.com/bep/debounce \ | bep:debounce:v1.2.0:bep_debounce/vendor/github.com/bep/debounce \ | ||||
bep:gitmap:v1.1.1:bep_gitmap/vendor/github.com/bep/gitmap \ | bep:gitmap:v1.1.1:bep_gitmap/vendor/github.com/bep/gitmap \ | ||||
bep:go-tocss:v0.6.0:bep_go_tocss/vendor/github.com/bep/go-tocss \ | bep:go-tocss:v0.6.0:bep_go_tocss/vendor/github.com/bep/go-tocss \ | ||||
bep:tmc:v0.5.0:bep_tmc/vendor/github.com/bep/tmc \ | bep:tmc:v0.5.0:bep_tmc/vendor/github.com/bep/tmc \ | ||||
census-instrumentation:opencensus-go:v0.22.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ | census-instrumentation:opencensus-go:v0.22.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ | ||||
cpuguy83:go-md2man:v1.0.10:cpuguy83_go_md2man/vendor/github.com/cpuguy83/go-md2man \ | cpuguy83:go-md2man:v1.0.10:cpuguy83_go_md2man/vendor/github.com/cpuguy83/go-md2man \ | ||||
danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \ | danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \ | ||||
disintegration:gift:v1.2.1:disintegration_gift/vendor/github.com/disintegration/gift \ | disintegration:gift:v1.2.1:disintegration_gift/vendor/github.com/disintegration/gift \ | ||||
dlclark:regexp2:v1.1.6:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ | dlclark:regexp2:v1.2.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ | ||||
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ | dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ | ||||
eknkc:amber:cdade1c07385:eknkc_amber/vendor/github.com/eknkc/amber \ | eknkc:amber:cdade1c07385:eknkc_amber/vendor/github.com/eknkc/amber \ | ||||
fortytw2:leaktest:v1.3.0:fortytw2_leaktest/vendor/github.com/fortytw2/leaktest \ | fortytw2:leaktest:v1.3.0:fortytw2_leaktest/vendor/github.com/fortytw2/leaktest \ | ||||
frankban:quicktest:v1.4.1:frankban_quicktest/vendor/github.com/frankban/quicktest \ | frankban:quicktest:v1.4.1:frankban_quicktest/vendor/github.com/frankban/quicktest \ | ||||
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ | fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ | ||||
go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ | go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ | ||||
gobwas:glob:v0.2.3:gobwas_glob/vendor/github.com/gobwas/glob \ | gobwas:glob:v0.2.3:gobwas_glob/vendor/github.com/gobwas/glob \ | ||||
gohugoio:testmodBuilder:c56af20f2e95:gohugoio_testmodbuilder/vendor/github.com/gohugoio/testmodBuilder/mods \ | gohugoio:testmodBuilder:c56af20f2e95:gohugoio_testmodbuilder/vendor/github.com/gohugoio/testmodBuilder/mods \ | ||||
Show All 18 Lines | GH_TUPLE= \ | ||||
grpc:grpc-go:v1.21.0:grpc_grpc_go/vendor/google.golang.org/grpc \ | grpc:grpc-go:v1.21.0:grpc_grpc_go/vendor/google.golang.org/grpc \ | ||||
hashicorp:golang-lru:v0.5.1:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ | hashicorp:golang-lru:v0.5.1:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ | ||||
hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ | hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ | ||||
inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ | inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ | ||||
jdkato:prose:v1.1.0:jdkato_prose/vendor/github.com/jdkato/prose \ | jdkato:prose:v1.1.0:jdkato_prose/vendor/github.com/jdkato/prose \ | ||||
jmespath:go-jmespath:c2b33e8439af:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ | jmespath:go-jmespath:c2b33e8439af:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ | ||||
kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \ | kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \ | ||||
kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \ | kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \ | ||||
kyokomi:emoji:v1.5.1:kyokomi_emoji/vendor/github.com/kyokomi/emoji \ | kyokomi:emoji:v2.1.0:kyokomi_emoji/vendor/github.com/kyokomi/emoji \ | ||||
magefile:mage:v1.4.0:magefile_mage/vendor/github.com/magefile/mage \ | magefile:mage:v1.4.0:magefile_mage/vendor/github.com/magefile/mage \ | ||||
magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ | magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ | ||||
markbates:inflect:a12c3aec81a6:markbates_inflect/vendor/github.com/markbates/inflect \ | markbates:inflect:a12c3aec81a6:markbates_inflect/vendor/github.com/markbates/inflect \ | ||||
mattn:go-isatty:v0.0.8:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ | mattn:go-isatty:v0.0.8:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ | ||||
mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ | mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ | ||||
miekg:mmark:v1.3.6:miekg_mmark/vendor/github.com/miekg/mmark \ | miekg:mmark:v1.3.6:miekg_mmark/vendor/github.com/miekg/mmark \ | ||||
mitchellh:hashstructure:v1.0.0:mitchellh_hashstructure/vendor/github.com/mitchellh/hashstructure \ | mitchellh:hashstructure:v1.0.0:mitchellh_hashstructure/vendor/github.com/mitchellh/hashstructure \ | ||||
mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ | mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ | ||||
muesli:smartcrop:f6ebaa786a12:muesli_smartcrop/vendor/github.com/muesli/smartcrop \ | muesli:smartcrop:f6ebaa786a12:muesli_smartcrop/vendor/github.com/muesli/smartcrop \ | ||||
nicksnyder:go-i18n:v1.10.0:nicksnyder_go_i18n/vendor/github.com/nicksnyder/go-i18n \ | nicksnyder:go-i18n:v1.10.0:nicksnyder_go_i18n/vendor/github.com/nicksnyder/go-i18n \ | ||||
niklasfasching:go-org:v0.1.4:niklasfasching_go_org/vendor/github.com/niklasfasching/go-org \ | niklasfasching:go-org:v0.1.6:niklasfasching_go_org/vendor/github.com/niklasfasching/go-org \ | ||||
olekukonko:tablewriter:d4647c9c7a84:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ | olekukonko:tablewriter:d4647c9c7a84:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ | ||||
pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ | pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ | ||||
pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ | pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ | ||||
rogpeppe:go-internal:v1.3.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ | rogpeppe:go-internal:v1.3.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ | ||||
russross:blackfriday:a477dd164691:russross_blackfriday/vendor/github.com/russross/blackfriday \ | russross:blackfriday:a477dd164691:russross_blackfriday/vendor/github.com/russross/blackfriday \ | ||||
rwcarlsen:goexif:9e8deecbddbd:rwcarlsen_goexif/vendor/github.com/rwcarlsen/goexif \ | rwcarlsen:goexif:9e8deecbddbd:rwcarlsen_goexif/vendor/github.com/rwcarlsen/goexif \ | ||||
sanity-io:litter:v1.1.0:sanity_io_litter/vendor/github.com/sanity-io/litter \ | sanity-io:litter:v1.1.0:sanity_io_litter/vendor/github.com/sanity-io/litter \ | ||||
spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \ | spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \ | ||||
spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ | spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ | ||||
spf13:cobra:67fc4837d267:spf13_cobra/vendor/github.com/spf13/cobra \ | spf13:cobra:67fc4837d267:spf13_cobra/vendor/github.com/spf13/cobra \ | ||||
spf13:fsync:v0.9.0:spf13_fsync/vendor/github.com/spf13/fsync \ | spf13:fsync:v0.9.0:spf13_fsync/vendor/github.com/spf13/fsync \ | ||||
spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ | spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ | ||||
spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ | spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ | ||||
spf13:viper:v1.4.0:spf13_viper/vendor/github.com/spf13/viper \ | spf13:viper:v1.4.0:spf13_viper/vendor/github.com/spf13/viper \ | ||||
tdewolff:minify:v2.3.7:tdewolff_minify/vendor/github.com/tdewolff/minify/v2 \ | tdewolff:minify:v2.5.2:tdewolff_minify/vendor/github.com/tdewolff/minify/v2 \ | ||||
tdewolff:parse:v2.3.5:tdewolff_parse/vendor/github.com/tdewolff/parse/v2 \ | tdewolff:parse:v2.3.9:tdewolff_parse/vendor/github.com/tdewolff/parse/v2 \ | ||||
wellington:go-libsass:c63644206701:wellington_go_libsass/vendor/github.com/wellington/go-libsass \ | wellington:go-libsass:c63644206701:wellington_go_libsass/vendor/github.com/wellington/go-libsass \ | ||||
yosssi:ace:v0.0.5:yosssi_ace/vendor/github.com/yosssi/ace | yosssi:ace:v0.0.5:yosssi_ace/vendor/github.com/yosssi/ace | ||||
GO_BUILDFLAGS= -ldflags="\ | GO_BUILDFLAGS= -ldflags="\ | ||||
-s -w \ | -s -w \ | ||||
-X github.com/gohugoio/hugo/hugolib.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ | -X github.com/gohugoio/hugo/hugolib.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ | ||||
-X github.com/gohugoio/hugo/hugolib.CommitHash=${COMMIT_ID}" \ | -X github.com/gohugoio/hugo/hugolib.CommitHash=${COMMIT_ID}" \ | ||||
${BUILD_TAGS} | ${BUILD_TAGS} | ||||
Show All 15 Lines | PORTMANS= hugo-config.1 hugo-convert-toJSON.1 hugo-convert-toTOML.1 \ | ||||
hugo-list-expired.1 hugo-list-future.1 hugo-list.1 \ | hugo-list-expired.1 hugo-list-future.1 hugo-list.1 \ | ||||
hugo-new-site.1 hugo-new-theme.1 hugo-new.1 hugo-server.1 \ | hugo-new-site.1 hugo-new-theme.1 hugo-new.1 hugo-server.1 \ | ||||
hugo-version.1 hugo.1 | hugo-version.1 hugo.1 | ||||
# needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk | # needed to get DISTINFO_FILE in scope for the shell command evaluation by go.mk | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
SOURCE_DATE_EPOCH_CMD= date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z' | SOURCE_DATE_EPOCH_CMD= date -r $$(grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') '+%FT%TZ%z' | ||||
COMMIT_ID= 4aac02d49c2e2bab9f36f0caabbbd9f3cb4715cd | COMMIT_ID= 1dd0c69c7b18c3e504411a2fb4f1055be2532aeb | ||||
do-build-MANPAGES-on: | do-build-MANPAGES-on: | ||||
@cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/ | @cd ${GO_WRKSRC} && ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir man/man1/ | ||||
do-install-MANPAGES-on: | do-install-MANPAGES-on: | ||||
.for i in ${PORTMANS} | .for i in ${PORTMANS} | ||||
${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 | ${INSTALL_MAN} ${WRKSRC}/man/man1/$i ${STAGEDIR}/${PREFIX}/man/man1 | ||||
.endfor | .endfor | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |