aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtksee/Makefile
blob: 2a34208e89c26a83910ce72dbd3c0ee793cb45fa (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
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    gtksee
# Date created:     Sun Nov 22 12:08:18 CET 1998
# Whom:         Dirk Froemberg <ibex@physik.TU-Berlin.DE>
#
# $FreeBSD$
#

PORTNAME=   gtksee
PORTVERSION=    0.5.6
PORTREVISION=   7
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Image viewer

RUN_DEPENDS=    bzip:${PORTSDIR}/archivers/bzip
LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        png.6:${PORTSDIR}/graphics/png \
        tiff.4:${PORTSDIR}/graphics/tiff

USE_GNOME=  gtk12 gnometarget
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"

MAN1=       gtksee.1

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

post-patch:
    @${REINPLACE_CMD} -e \
        's|^CFLAGS=""|CFLAGS="$$CFLAGS"|g' ${WRKSRC}/configure

post-install:
    ${INSTALL_MAN} ${WRKSRC}/man/gtksee.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>