diff options
Diffstat (limited to 'x11/wallutils/Makefile')
-rw-r--r-- | x11/wallutils/Makefile | 56 |
1 files changed, 30 insertions, 26 deletions
diff --git a/x11/wallutils/Makefile b/x11/wallutils/Makefile index 3281237b6c1d..dd186ace566f 100644 --- a/x11/wallutils/Makefile +++ b/x11/wallutils/Makefile @@ -1,6 +1,7 @@ PORTNAME= wallutils -DISTVERSION= 5.12.9 -PORTREVISION= 7 +DISTVERSIONPREFIX= v +DISTVERSION= 5.14.2 +PORTREVISION= 2 CATEGORIES= x11 wayland MAINTAINER= eduardo@FreeBSD.org @@ -13,27 +14,27 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libX11.so:x11/libX11 -USES= go:modules +USES= go:modules pkgconfig USE_GITHUB= yes GH_ACCOUNT= xyproto -GH_TUPLE= antchfx:xmlquery:v1.3.8:antchfx_xmlquery/vendor/github.com/antchfx/xmlquery \ - antchfx:xpath:v1.2.0:antchfx_xpath/vendor/github.com/antchfx/xpath \ +GH_TUPLE= antchfx:xmlquery:v1.4.4:antchfx_xmlquery/vendor/github.com/antchfx/xmlquery \ + antchfx:xpath:v1.3.4:antchfx_xpath/vendor/github.com/antchfx/xpath \ anthonynsimon:bild:v0.14.0:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \ - cpuguy83:go-md2man:v2.0.4:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ - fatih:color:v1.17.0:fatih_color/vendor/github.com/fatih/color \ - golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \ - golang:image:v0.18.0:golang_image/vendor/golang.org/x/image \ - golang:net:58aab5ef257a:golang_net/vendor/golang.org/x/net \ - golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \ - golang:text:v0.16.0:golang_text/vendor/golang.org/x/text \ - mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ + cpuguy83:go-md2man:v2.0.7:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ + fatih:color:v1.18.0:fatih_color/vendor/github.com/fatih/color \ + golang:groupcache:2c02b8208cf8:golang_groupcache/vendor/github.com/golang/groupcache \ + golang:image:v0.29.0:golang_image/vendor/golang.org/x/image \ + golang:net:v0.42.0:golang_net/vendor/golang.org/x/net \ + golang:sys:v0.34.0:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.27.0:golang_text/vendor/golang.org/x/text \ + mattn:go-colorable:v0.1.14:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ russross:blackfriday:v2.1.0:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ stretchr:powerwalk:bceb9d014549:stretchr_powerwalk/vendor/github.com/stretchr/powerwalk \ - urfave:cli:v1.22.15:urfave_cli/vendor/github.com/urfave/cli \ - xyproto:env:v2.2.5:xyproto_env_v2/vendor/github.com/xyproto/env \ + urfave:cli:v1.22.17:urfave_cli/vendor/github.com/urfave/cli \ + xyproto:env:v2.5.3:xyproto_env_v2/vendor/github.com/xyproto/env \ xyproto:heic:v1.0.0:xyproto_heic/vendor/github.com/xyproto/heic -GL_TUPLE= https://gitlab.howett.net:go:plist:1454fab16a0642638feb0ae98c41f79eccb2a20a:go_plist/vendor/howett.net/plist +GL_TUPLE= https://gitlab.howett.net:go:plist:5afcd134990e1c90a92bac94906f74af0b10042d:go_plist/vendor/howett.net/plist GO_TARGET= ./cmd/getdpi \ ./cmd/lscollection \ ./cmd/lsmon \ @@ -47,18 +48,20 @@ GO_TARGET= ./cmd/getdpi \ ./cmd/vram \ ./cmd/wayinfo \ ./cmd/xinfo \ - ./cmd/xml2stw \ - ${NULL} -PLIST_FILES= ${GO_TARGET:S,./cmd,bin,} \ - share/man/man1/getdpi.1.gz \ - share/man/man1/vram.1.gz + ./cmd/xml2stw + +PLIST_FILES= ${GO_TARGET:S,./cmd,bin,} +PLIST_FILES+= ${GO_TARGET:S,./cmd,share/man/man1,:S,$,.1.gz,} OPTIONS_DEFINE= HEIF OPTIONS_DEFAULT= HEIF -HEIF_LIB_DEPENDS= libheif.so:graphics/libheif -HEIF_USES= pkgconfig -HEIF_VARS= GO_TARGET+=./cmd/heic2stw +# Using [HEIF_VARS= GO_TARGET+=./cmd/heic2stw] causes post-install to fail parsing instalation of heic2stw.1 manual +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MHEIF} +LIB_DEPENDS+= libheif.so:graphics/libheif +GO_TARGET+= ./cmd/heic2stw +.endif post-patch: # Respect PREFIX for wallpapers @@ -67,7 +70,8 @@ post-patch: ${WRKSRC}/collections.go post-install: - ${INSTALL_MAN} ${WRKSRC}/cmd/getdpi/getdpi.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/cmd/vram/vram.1 ${STAGEDIR}${PREFIX}/share/man/man1 +.for _target in ${GO_TARGET:S,./cmd,/cmd,} + ${INSTALL_MAN} ${WRKSRC}/${_target}/${_target:T}.1 ${STAGEDIR}${PREFIX}/share/man/man1 +.endfor .include <bsd.port.mk> |