openbsd-ports/graphics/sxiv/Makefile
bentley ff26e255c7 Import sxiv-1.0.
sxiv is an alternative to feh and qiv. Its only dependencies besides
xlib are imlib2 and giflib. The primary goal for writing sxiv is to
create an image viewer, which only has the most basic features required
for fast image viewing (the ones I want). It has vi key bindings and
works nicely with tiling window managers. Its code base should be kept
small and clean to make it easy for you to dig into it and customize it
for your needs.

From Matthew Via, with tweaks by me/Antoine. ok ajacoutot@
2012-02-27 08:45:50 +00:00

32 lines
712 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/02/27 08:45:50 bentley Exp $
COMMENT = simple (or small or suckless) X Image Viewer
DISTNAME = sxiv-1.0
CATEGORIES = graphics
HOMEPAGE = https://github.com/muennich/sxiv
MAINTAINER = Matthew Via <via@matthewvia.info>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += Imlib2 X11 c
LIB_DEPENDS = graphics/imlib2
MAKE_FLAGS = CC=${CC} MANPREFIX=${PREFIX}/man \
CFLAGS="${CFLAGS} -I${X11BASE}/include -I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib -L${X11BASE}/lib -lX11 -lImlib2"
MASTER_SITES = https://github.com/muennich/sxiv/downloads/
NO_REGRESS = Yes
.include <bsd.port.mk>