aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkimageview/Makefile
blob: 2fbec0c78a6fa673ef6bee8a733560e59f72e464 (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
# New ports collection makefile for:    gtkimageview
# Date created:     1 August 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtkimageview
PORTVERSION=    1.5.0
PORTREVISION=   1
CATEGORIES= x11-toolkits
MASTER_SITES=   CENKES
# http://trac.bjourne.webfactional.com/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple image viewer widget

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-static
USE_GNOME=  gtk20
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e '/^gtkimageview-marshal.[ch]:/s|$$[(]GLIB_GENMARSHAL[)]||'\
        ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e '/^CFLAGS/s|-Werror||' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>