summaryrefslogblamecommitdiffstats
path: root/graphics/libgnomecanvas/Makefile
blob: eff7dcf2fae299ae36f4ec138442955847b78f68 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                           
                                                                                       


                              
                 






















                                                                                    



                                                                 


                      
# 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