rsadowski 6c6c653644 Change DISTFILE to prevent issues with bulk builds.
Spotted and diff from sthen@ Thanks!
2018-03-04 14:03:52 +00:00

35 lines
753 B
Makefile

# $OpenBSD: Makefile,v 1.9 2018/03/04 14:03:52 rsadowski Exp $
COMMENT = wallpaper setting utility for X
V = 0.3.0
DISTNAME = xwallpaper-${V}
REVISION = 3
CATEGORIES = x11 graphics
HOMEPAGE = https://github.com/stoeckmann/xwallpaper
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB += X11 Xpm c jpeg pixman-1 png xcb xcb-image
WANTLIB += xcb-randr xcb-shm xcb-util z
MASTER_SITES = https://github.com/stoeckmann/xwallpaper/releases/download/v${V}/
DISTFILES = ${DISTNAME}_1{${DISTNAME}}${EXTRACT_SUFX}
LIB_DEPENDS += graphics/jpeg \
graphics/png
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>