aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qiv/Makefile
blob: 08f1dbbf93c915683b94acd5a5c014a7e399b986 (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
34
35
36
37
# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$

PORTNAME=   qiv
PORTVERSION=    2.3.1
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://spiegl.de/qiv/download/ \
        http://www.predatorlabs.net/dl/

MAINTAINER= danilo@FreeBSD.org
COMMENT=    Small, fast GDK/Imlib2 image viewer

LICENSE=    GPLv2

LIB_DEPENDS=    libImlib2.so:${PORTSDIR}/graphics/imlib2 \
        liblcms2.so:${PORTSDIR}/graphics/lcms2 \
        libexif.so:${PORTSDIR}/graphics/libexif

USES=       gmake pkgconfig tar:tgz
USE_GNOME=  gtk20

PLIST_FILES=    bin/qiv man/man1/qiv.1.gz
USE_XORG+=  x11

do-configure:
    @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \
        s|gcc|${CC}|; \
        s|-O2|${CFLAGS}|; \
        s|libs-gdk`|libs-gdk` ${LDFLAGS}|;' \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/

.include <bsd.port.mk>