summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes/Makefile
blob: 2100afbedb3098c8158aad9a2983b6b6d77d61db (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
38
39
40
# New ports collection makefile for:    gnome-themes
# Date Created:             05 October 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-themes/gnome-themes/Makefile,v 1.83 2006/03/13 19:31:48 mezz Exp $
#

PORTNAME=   gnome-themes
PORTVERSION=    2.14.0
CATEGORIES= x11-themes gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A collection of themes and icons for GNOME2

BUILD_DEPENDS=  ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2
RUN_DEPENDS=    ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2

CONFLICTS=  clearlooks-metacity-0.*

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_X_PREFIX=   yes
USE_AUTOTOOLS=  libtool:15
INSTALLS_ICONS= yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack intlhack metacity libgnomeui
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
            LDFLAGS="-L${LOCALBASE}/lib"

PLIST_SUB=  GTK_VERSION="2.4.0"

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g'

.include <bsd.port.mk>