summaryrefslogblamecommitdiffstats
path: root/misc/gnome-icon-theme/Makefile
blob: 66d5703856cb2940f6ae155dce1974dd89a0a837 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                              
                                                                                       


                                
                        
                 







                                                                                    
                                                                                                  
                                                                                 
                                                                                                

                   







                                                    
                                                                                       







                                                        
# New ports collection makefile for:    gnome-icon-theme
# Date Created:             05 October 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/misc/gnome-icon-theme/Makefile,v 1.87 2006/09/05 07:39:11 marcus Exp $
#

PORTNAME=   gnome-icon-theme
PORTVERSION=    2.16.0.1
PORTREVISION=   1
CATEGORIES= misc 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=    A collection of icons for the GNOME 2 desktop

BUILD_DEPENDS=  ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
        icon-naming-utils>=0.8.0:${PORTSDIR}/x11-themes/icon-naming-utils
RUN_DEPENDS=    ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack intlhack gnometarget gtk20
INSTALLS_ICONS= yes
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
            ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|@mkdir_p@|mkdir -p|g' \
        ${WRKSRC}/po/Makefile.in.in

post-install:
    @${MKDIR} ${PREFIX}/share/icons/gnome/48x48/apps

.include <bsd.port.mk>