aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-art/Makefile
blob: 2cca85f456ca493a54874879d62be861fff11da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    gnome-art
# Date created:     2005-04-15
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnome-art
PORTVERSION=    0.2
PORTREVISION=   3
CATEGORIES= x11-themes
MASTER_SITES=   http://www.miketech.net/gnome-art/download/

MAINTAINER= ahze@FreeBSD.org
COMMENT=    Frontend for art.gnome.org

RUN_DEPENDS=    gnome-splashscreen-manager:${PORTSDIR}/x11-themes/gnome-splashscreen-manager

WRKSRC=     ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_RUBY=   yes
USE_RUBY_SETUP= yes
GNOMEART_ICON=  ${DATADIR}/glade/pixmaps/gnome-graphics.png
DESKTOP_ENTRIES="${PORTNAME}" "${COMMENT}" "${GNOMEART_ICON}" "${PORTNAME}" "Application;Settings;AdvancedSettings;" true

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
        ${WRKSRC}/lib/gnome-art/ui/main_window.rb \
        ${WRKSRC}/lib/gnome-art/ui/download_dialog.rb
    @${FIND} ${WRKSRC} -name '*.bak' -delete

.include <bsd.port.mk>