summaryrefslogtreecommitdiffstats
path: root/graphics/libgnomecanvas/Makefile
blob: eff7dcf2fae299ae36f4ec138442955847b78f68 (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
# New ports collection makefile for:    gnomecanvas
# Date created:             18 May 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/graphics/libgnomecanvas/Makefile,v 1.62 2007/07/10 16:36:34 ahze Exp $

PORTNAME=   libgnomecanvas
PORTVERSION=    2.19.0
PORTREVISION?=  1
CATEGORIES= graphics gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A graphics library for GNOME

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_XLIB=   yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  gnomehack libglade2 libartlgpl2 ltverhack referencehack
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
        --disable-gtk-doc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|gail-1.0|gail|g' \
        ${WRKSRC}/libgnomecanvas/libgnomecanvas-2.0.pc.in

.include <bsd.port.mk>

.endif