summaryrefslogtreecommitdiff
path: root/graphics/feh/Makefile
blob: 0f6a6c24fd191be5782a1c2a953f90c773c5ebbe (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.34 2008/06/12 02:14:31 joerg Exp $
#

DISTNAME=	feh-1.3.4
PKGREVISION=	3
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"