aboutsummaryrefslogtreecommitdiff
path: root/graphics/xzgv/Makefile
blob: 93a4bbe3e4c1a8a1306c420ef9063197538743e4 (plain) (blame)
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
PORTNAME=	xzgv
PORTVERSION=	0.9.2
CATEGORIES=	graphics
MASTER_SITES=	SF

MAINTAINER=	m.ne@gmx.net
COMMENT=	Image viewer with thumbnail-based file selector for X

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	gawk:lang/gawk
LIB_DEPENDS=	libexif.so:graphics/libexif \
		libfreetype.so:print/freetype2 \
		libfontconfig.so:x11-fonts/fontconfig

USES=		cpe gmake gnome pkgconfig xorg
USE_GNOME=	cairo gdkpixbuf2 gtk20
USE_XORG=	x11

LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lm
PLIST_FILES=	bin/xzgv man/man1/xzgv.1.gz

post-patch:
	${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
		 s|^CFLAGS|#CFLAGS|g ; \
		 s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${STAGEDIR}${LOCALBASE}/bin/
	${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>