aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gqview/Makefile
blob: c3eb05a7d6eb04e9258bb7952d207a38f0a0be30 (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
38
39
# New ports collection makefile for:    gqview
# Date Created:             27 Oct 1998
# Whom:                 Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gqview
PORTVERSION=    1.2.2
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= nakai@FreeBSD.org
COMMENT=    Another gtk-based graphic file viewer

USE_X_PREFIX=   yes
USE_GNOME=  gdkpixbuf
WANT_GNOME= yes
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
USE_AUTOCONF_VER=   213
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-gnome

MAN1=       gqview.1

post-patch:
    @${REINPLACE_CMD} -e 's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g' \
        ${WRKSRC}/aclocal.m4

post-install:
    ${MKDIR} ${PREFIX}/share/gnome/pixmaps
    ${MKDIR} ${PREFIX}/share/gnome/apps/Graphics
    ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics

.include <bsd.port.mk>