summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/eel/Makefile
blob: b80d095d0865ac299fd04f2ee5523fe797832b77 (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:    eel2
# Date created:                 8th May 2001
# Whom:                         Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/eel/Makefile,v 1.53 2007/05/15 00:43:26 marcus Exp $
#

PORTNAME=   eel
PORTVERSION=    2.19.2
PORTREVISION=   1
CATEGORIES= x11-toolkits 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=    Generally useful classes and extensions to GNOME

USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_XLIB=   yes
GNOME_DESKTOP_VERSION=2
USE_GNOME=  gnomeprefix gnomehack gail gnomedesktop gnomemenus ltverhack
USE_AUTOTOOLS=  libtool:15
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --enable-shared --enable-static
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

post-patch:
    @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|; \
        s|%%LOCALBASE%%|${LOCALBASE}|g' \
        ${WRKSRC}/eel/eel-open-with-dialog.c

.include <bsd.port.mk>