freebsd-ports/misc/gnome-icon-theme/Makefile
Jean-Yves Lefort 94af75f882 Add a dependency on gtk20 and use INSTALLS_ICONS. Fixes the missing
icons problem that occurs when gnome-icon-theme is installed after
gtk20 and no port using INSTALLS_ICONS is installed afterwards.

Obtained from:	marcus
2005-11-19 19:46:55 +00:00

43 lines
1.2 KiB
Makefile

# 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.56 2005/10/06 17:36:54 mezz Exp $
#
PORTNAME= gnome-icon-theme
PORTVERSION= 2.12.1
PORTREVISION= 2
CATEGORIES= misc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A collection of icons for the GNOME 2 desktop
BUILD_DEPENDS= ${X11BASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
RUN_DEPENDS= ${X11BASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= 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|%%X11BASE%%|${X11BASE}|g ; \
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>