b316302ca2
From xdg-icon-resource(1): "--theme theme Installs or removes the icon file as part of theme. If no theme is specified the icons will be installed as part of the default hicolor theme. Applications may install icons under multiple themes but should at least install icons for the default hicolor theme." In my case graphics/djview4 needs this dependency. PR: ports/166630 Submitted by: bsam (me) Approved by: gnome (mezz, reluctantly (-: and eager to withdraw his approval if someone objects) Discussed at: freebsd-gnome
40 lines
952 B
Makefile
40 lines
952 B
Makefile
# New ports collection makefile for: xdg-utils
|
|
# Date created: 2006-07-02
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports-stable/devel/xdg-utils/Makefile,v 1.3 2010/06/29 17:32:55 kwm Exp $
|
|
#
|
|
|
|
PORTNAME= xdg-utils
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://portland.freedesktop.org/download/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Tools to allow all applications to integrate with the free desktop
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
|
|
|
|
GNU_CONFIGURE= yes
|
|
XDG_FILES= xdg-desktop-icon \
|
|
xdg-desktop-menu \
|
|
xdg-email \
|
|
xdg-icon-resource \
|
|
xdg-mime \
|
|
xdg-open \
|
|
xdg-screensaver
|
|
|
|
PLIST_FILES+= ${XDG_FILES:S|^|bin/|}
|
|
MAN1+= ${XDG_FILES:S|$|.1|}
|
|
|
|
pre-patch:
|
|
@${RM} -f ${WRKSRC}/*/*.orig
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
${WRKSRC}/scripts/xdg-*
|
|
|
|
.include <bsd.port.mk>
|