diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-04 22:34:04 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-04 22:34:04 +0800 |
commit | 2210b8330fa95dc720696f95b5613f7e2c1fb878 (patch) | |
tree | c48faa8dfbf085696374367489417052615af7ff /graphics | |
parent | 8fe50106d1d1f781ece62f09d1f10cf71d7a36dc (diff) | |
download | marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar.gz marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar.bz2 marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar.lz marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar.xz marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.tar.zst marcuscom-ports-2210b8330fa95dc720696f95b5613f7e2c1fb878.zip |
Rip out gtk-update-icon-cache from gtk20. Currently based on gtk 2.24.1.
This makes it that gtk30 doesn't depend on gtk20 anymore.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15347 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gtk-update-icon-cache/Makefile | 70 | ||||
-rw-r--r-- | graphics/gtk-update-icon-cache/distinfo | 2 | ||||
-rw-r--r-- | graphics/gtk-update-icon-cache/pkg-descr | 3 |
3 files changed, 75 insertions, 0 deletions
diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile new file mode 100644 index 000000000..c8485d86c --- /dev/null +++ b/graphics/gtk-update-icon-cache/Makefile @@ -0,0 +1,70 @@ +# New ports collection makefile for: gtk-update-icon-cache +# Date Created: 4 Mar 2011 +# Whom: Koop Mast <kwm@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gtk-update-icon-cache +PORTVERSION= 2.24.1 +PORTREVISION?= 0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ + ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ + ftp://ftp.gimp.org/pub/%SUBDIR%/ \ + ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \ + http://www.ameth.org/gimp/%SUBDIR%/ \ + ftp://ftp.mirror.ac.uk/sites/ftp.gimp.org/pub/%SUBDIR%/ \ + ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,} +MASTER_SITE_SUBDIR= gtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= gtk+-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= gtk-update-icon-cache utility from the Gtk+ toolkit. + +LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/COPYING +USE_BZIP2= yes + +BUILD_DEPENDS+= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +RUN_DEPENDS+= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \ + ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme + +USE_GMAKE= yes +USE_PERL5_BUILD=yes +MAKE_JOBS_UNSAFE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool +USE_GNOME= gnomehack atk pango gdkpixbuf2 ltverhack +USE_GETTEXT= yes +USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ + xcomposite +PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files +CONFIGURE_ARGS= --enable-static --enable-xinput=yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +PLIST_FILES= bin/gtk-update-icon-cache + +MAN1= gtk-update-icon-cache.1 + +.include <bsd.port.pre.mk> + +pre-configure: +.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) + @${ECHO_CMD} "${PKGNAME}: Needs cairo build with X11 support." + @${FALSE} +.endif + +do-build: + @cd ${WRKSRC}/gtk && ${GMAKE} gtk-update-icon-cache + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \ + ${PREFIX}/bin/ + @${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \ + ${PREFIX}/man/man1/ + +.include <bsd.port.post.mk> diff --git a/graphics/gtk-update-icon-cache/distinfo b/graphics/gtk-update-icon-cache/distinfo new file mode 100644 index 000000000..54c95b4fd --- /dev/null +++ b/graphics/gtk-update-icon-cache/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome2/gtk+-2.24.1.tar.bz2) = 0e2f94dfeb82ffb73640e17a411b9d62851dc4b2e147d90a24f94c1bfc0491ed +SIZE (gnome2/gtk+-2.24.1.tar.bz2) = 17600141 diff --git a/graphics/gtk-update-icon-cache/pkg-descr b/graphics/gtk-update-icon-cache/pkg-descr new file mode 100644 index 000000000..ce3c00694 --- /dev/null +++ b/graphics/gtk-update-icon-cache/pkg-descr @@ -0,0 +1,3 @@ +gtk-update-icon-cache util from the Gtk+ toolkits. + +WWW: http://www.gtk.org/ |