freebsd-ports/graphics/gtk-update-icon-cache/Makefile
Tijl Coosemans aeddb3bebf Update graphics/gtk-update-icon-cache to 2.24.32 to keep it in sync with
x11-toolkits/gtk20.  Add a comment about this to x11-toolkits/gtk20 because
this isn't the first time.
2018-03-28 12:42:34 +00:00

54 lines
1.6 KiB
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtk-update-icon-cache
PORTVERSION= 2.24.32
CATEGORIES= graphics
MASTER_SITES= GNOME/sources/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
RUN_DEPENDS+= update-mime-database:misc/shared-mime-info \
${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme
PORTSCOUT= ignore:1
USES= gettext gmake libtool localbase:ldflags pathfix perl5 pkgconfig tar:xz
USE_PERL5= build
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= atk pango gdkpixbuf2 introspection:build
USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \
xcomposite
PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files
CONFIGURE_ARGS= --enable-static --with-xinput=yes
BUILD_WRKSRC= ${WRKSRC}/gtk
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/gtk-update-icon-cache
# man/man1/gtk-update-icon-cache.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|-DGDK_PIXBUF_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
pre-configure:
# .if !exists() evaluates too early before cairo has a chance to be installed
@if ! pkg-config --exists cairo-xlib; then \
${ECHO_MSG} "${PKGNAME}: Needs cairo with X11 support enabled."; \
${FALSE}; \
fi
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \
${STAGEDIR}${PREFIX}/bin/
# ${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \
# ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>