summaryrefslogtreecommitdiff
path: root/graphics/feh/Makefile
blob: da4f16b36041e361895f61091c43ac7f605c71d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.35 2009/08/26 19:57:40 sno Exp $
#

DISTNAME=	feh-1.3.4
PKGREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	http://linuxbrit.co.uk/downloads/

MAINTAINER=	rh@NetBSD.org
HOMEPAGE=	http://linuxbrit.co.uk/feh/
COMMENT=	Advanced image viewer

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	wget-[0-9]*:../../net/wget

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=	--program-transform-name=s,cam,feh_cam,

USE_TOOLS+=	bash:run perl:run

REPLACE_BASH=		cam/gen_cam_menu.sh
REPLACE_PERL=		cam/cam

LDFLAGS.SunOS+=		-lnsl -lsocket

BUILDLINK_API_DEPENDS.giblib+=	giblib>=1.2.4
BUILDLINK_API_DEPENDS.jpeg+=	jpeg>=6bnb3 # includes jpegint.h

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../devel/giblib/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"