summaryrefslogblamecommitdiffstats
path: root/x11-wm/muffin/Makefile
blob: a13031dc62fa933a9245e7978ad0ada16d1947a8 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                            
           

                      
                     
                 
                            
                                                                                             

                      
                                 

                                                                                   
                                                      

                                                                                            
                                                                                   
                                                                    

                                                                        
                                                    
 

                                                                 
                                                        
                                            
                                                                  
                   
                     


                                                                 
                                  
                                   

                                                 
                   
                                               
                             
 
              
                                                                           
 



                                                                                                  
                      
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#    $MCom$

PORTNAME=   muffin
PORTVERSION=    2.2.6
PORTREVISION=   1
CATEGORIES= x11-wm gnome
MASTER_SITES=   http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Compositing window manager forked from Mutter for use with Cinnamon

BUILD_DEPENDS=  zenity>=3.0.0:${PORTSDIR}/x11/zenity \
        gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \
        gsettings-desktop-schemas>=3.4.0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS=    libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
        libclutter-glx-1.0.so:${PORTSDIR}/graphics/clutter \
        libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
        libcinnamon-desktop.so:${PORTSDIR}/x11/cinnamon-desktop
RUN_DEPENDS=    zenity>=3.0.0:${PORTSDIR}/x11/zenity

USES=       autoreconf:build execinfo gettext libtool gmake \
        pathfix pkgconfig python:2
USE_GNOME=  gconf2 gnomedocutils gnomeprefix gtk30 \
        intlhack introspection:build
USE_XORG=   x11 xext xrandr xcomposite xcursor xinerama ice sm
USE_LDCONFIG=   yes
USE_CSTD=   gnu89
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include -Wno-error=unused-function
CFLAGS+=    -I${LOCALBASE}/include -Wno-error=unused-function
LDFLAGS+=   -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.am
CONFIGURE_ENV=  LIBS="-lexecinfo"
CONFIGURE_ARGS= --enable-compile-warnings=maximum
MAKE_ARGS=  V=1
GLIB_SCHEMAS=   org.cinnamon.muffin.gschema.xml
INSTALL_TARGET= install-strip

pre-configure:
        @cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh

post-patch:
    @${REINPLACE_CMD} -e 's|REQUIRED_AUTOMAKE_VERSION=1.10|REQUIRED_AUTOMAKE_VERSION=1.14|g' \
        ${WRKSRC}/autogen.sh

.include <bsd.port.mk>