summaryrefslogblamecommitdiffstats
path: root/x11-toolkits/libunique3/Makefile
blob: 48ff914474064716fd86ac038e870d44bb2b043d (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                           
                                                                                     

 

                         
                            
                     





                                                        
                          

















                                                                                
# New ports collection makefile for:   libunique
# Date created:         22 Feb 2009
# Whom:             Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/libunique3/Makefile,v 1.1 2010/06/20 13:09:43 kwm Exp $
#

PORTNAME=   libunique
PORTVERSION=    2.90.1
CATEGORIES= x11-toolkits
MASTER_SITES=   GNOME

MAINTAINER= kwm@FreeBSD.org
COMMENT=    Library for single instance applications

LIB_DEPENDS=    dbus-1.3:${PORTSDIR}/devel/dbus

LATEST_LINK=    libunique3
USE_XORG=   ice
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  gtk30 gnomeprefix ltverhack:0
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-maintainer-flags --enable-gtk-doc-html=no
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
        -e 's|unique tests doc|unique tests|g' \
        ${WRKSRC}/configure ${WRKSRC}/Makefile.in

.include <bsd.port.mk>