freebsd-ports/x11/wallutils/Makefile
Jan Beich 2508c9b1a3 x11/wallutils: add new port
* Detect monitor resolutions and set the desktop wallpaper, for any
  window manager (please file an issue if your window manager is not
  supported yet).
* Supports GNOME timed wallpapers, and includes a utility that can run
  an event loop for changing them (also supports cross fading).
* Introduces a new file format for timed wallpapers

https://github.com/xyproto/wallutils
2019-09-11 16:51:55 +00:00

58 lines
2.2 KiB
Makefile

# $FreeBSD$
PORTNAME= wallutils
DISTVERSION= 5.8.2
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Utilities for handling monitors, resolutions, wallpapers and timed wallpapers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/X11/Xmu/CurUtil.h:x11-toolkits/libXmu \
${LOCALBASE}/include/X11/Xcursor/Xcursor.h:x11/libXcursor \
${LOCALBASE}/include/X11/bitmaps/gray:x11/xbitmaps \
${LOCALBASE}/include/X11/Xatom.h:x11/xorgproto
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libX11.so:x11/libX11 \
libXpm.so:x11/libXpm
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= xyproto
GH_TUPLE= anthonynsimon:bild:c66fc7e29724:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \
fatih:color:v1.7.0:fatih_color/vendor/github.com/fatih/color \
golang:image:cb417be4ba39:golang_image/vendor/golang.org/x/image \
golang:sys:1e83adbbebd0:golang_sys/vendor/golang.org/x/sys \
lucasb-eyer:go-colorful:v1.0.2:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
mattn:go-colorable:v0.1.2:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.9:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
stretchr:powerwalk:bceb9d014549:stretchr_powerwalk/vendor/github.com/stretchr/powerwalk \
urfave:cli:v1.21.0:urfave_cli/vendor/github.com/urfave/cli \
xyproto:event:a3d8ddca97ef:xyproto_event/vendor/github.com/xyproto/event \
xyproto:gnometimed:745a6701ce92:xyproto_gnometimed/vendor/github.com/xyproto/gnometimed \
xyproto:imagelib:bbbf5649f300:xyproto_imagelib/vendor/github.com/xyproto/imagelib \
xyproto:palgen:8a7b02ffedfd:xyproto_palgen/vendor/github.com/xyproto/palgen \
xyproto:simpletimed:17a9b15a6cbc:xyproto_simpletimed/vendor/github.com/xyproto/simpletimed \
xyproto:xpm:993fa777f935:xyproto_xpm/vendor/github.com/xyproto/xpm
GO_TARGET= ./cmd/getdpi \
./cmd/lscollection \
./cmd/lsmon \
./cmd/lstimed \
./cmd/lswallpaper \
./cmd/setcollection \
./cmd/setrandom \
./cmd/settimed \
./cmd/setwallpaper \
./cmd/timedinfo \
./cmd/wayinfo \
./cmd/xinfo \
./cmd/xml2stw \
${NULL}
PLIST_FILES= ${GO_TARGET:S,./cmd,bin,}
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' ${WRKSRC}/collections.go
.include <bsd.port.mk>