summaryrefslogblamecommitdiffstats
path: root/devel/glade/Makefile
blob: ab46ae890e3321cae2b183e77eb2ca083fcdb656 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                     
                                                                         


                     
                      

                           




                                                   

                                                                    

                          
                   
                   
                   
                                                     





                                      
                                  
 
                                             
 
                                                        
 


                              
                   










                                   
                      
# New ports collection makefile for:    glade3
# Date created:     Sun May 22 17:22:53 CEST 2005
# Whom:         Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/glade/Makefile,v 1.3 2011/08/11 19:48:45 kwm Exp $
#

PORTNAME=   glade
PORTVERSION=    3.10.2
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A user interface builder for GTK+ 3

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection

CONFLICTS=  glade3-3.*

INSTALLS_ICONS= yes
USE_XZ=     yes
USE_GMAKE=  yes
USE_GNOME=  gtk30 gnomeprefix gnomehack ltverhack
WANT_GNOME= yes
USE_GETTEXT=    yes
INSTALLS_OMF=   yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

DOCSDIR=    ${PREFIX}/share/doc/gladeui-2

OPTIONS=    PYTHON "Enable python widget support" on

.include <bsd.port.options.mk>

.if defined(WITH_PYTHON)
USE_PYTHON= yes
USE_GNOME+= pygobject
PLIST_SUB+= PYTHON:=""
CONFIGURE_ARGS+=--enable-python
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.mk>