summaryrefslogblamecommitdiffstats
path: root/deskutils/timer-applet/Makefile
blob: 7a25ffb1d73dfc6a7894ed49f833595f3e042007 (plain) (tree)



































                                                                                                    
# New ports collection makefile for:    timer-applet
# Date created:     2005-01-12
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   timer-applet
PORTVERSION=    1.2
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= timerapplet

MAINTAINER= jylefort@FreeBSD.org
COMMENT=    A timer applet for the GNOME panel

RUN_DEPENDS=    ${LOCALBASE}/share/gnome/sounds/gtk-events/clicked.wav:${PORTSDIR}/audio/gnome-audio

USE_GNOME=  gnomehack gnomeprefix gnomepanel intlhack
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_XLIB=   yes
USE_GMAKE=  yes
GCONF_SCHEMAS=  timer-applet.schemas
INSTALLS_OMF=   yes

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/share/pixmaps/|${PREFIX}/share/gnome/pixmaps/|' \
        ${WRKSRC}/GNOME_TimerApplet.server.in.in
    @${REINPLACE_CMD} -e \
        's|$$(datadir)/sounds|${LOCALBASE}/share/gnome/sounds|' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>