summaryrefslogblamecommitdiffstats
path: root/x11-toolkits/gtk-engines2/Makefile
blob: 1b8643b8b6bf0d4f8ab4f1224be303f0f13e3b33 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                            
                 

                                    

                                                      



                                 
                                                              




                                                                        
                             










                                                                         
# New ports collection makefile for:    gtk-engines2
# Date Created:             21 May 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD: ports/x11-toolkits/gtk-engines2/Makefile,v 1.31 2002/09/20 17:07:34 marcus Exp $
#

PORTNAME=   gtk-engines2
PORTVERSION=    1.9.0
PORTREVISION=   5
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.9
DISTNAME=   ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org

LIB_DEPENDS=    gtk-x11-2.0.103:${PORTSDIR}/x11-toolkits/gtk20

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_LIBTOOL=    yes
CONFIGURE_TARGET=   --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB=  VERSION=2.2.0

THEMES=     metal redmond95

post-patch:
    @for theme in ${THEMES}; do \
        cd ${WRKSRC}/$$theme/Theme/gtk-2.0; \
        ${MV} gtkrc gtkrc.tmp; \
        ${SED} -e s^%%PREFIX%%^${PREFIX}^g < gtkrc.tmp > gtkrc; \
    done

.include <bsd.port.mk>