summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libunique3/Makefile
blob: d43819a3c24791dd8da71fb86566c3bbca74a6d7 (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
# 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.2 2010/06/29 22:01:59 kwm Exp $
#

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

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

LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

LATEST_LINK=    libunique3
USE_XORG=   ice x11
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
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>