aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/bdesktopclock/Makefile
blob: 27be5e9fe702b79a852ed2cd7ad2701a28ffafb6 (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
32
33
34
35
36
37
38
39
# New ports collection makefile for:    BDesktopClock
# Date created:             Sat Dec  4 11:22:12 MSK 2004
# Whom:                 Nosov Artem <chip-set@mail.ru>
#
# $FreeBSD$
#

PORTNAME=   bdesktopclock
PORTVERSION=    1.1.2
PORTREVISION=   3
CATEGORIES= x11-clocks
MASTER_SITES=   http://www.bucote.com/opensource/bdesktopclock/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple clock for desktop environment

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

WRKSRC=     ${WRKDIR}/BDesktopClock

USE_QT_VER= 3
MAKE_ENV+=  QTDIR=${QT_PREFIX} \
        QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_XORG=   x11 xau xcursor xdmcp xext xfixes xft xi xinerama \
        xrandr xrender xt

PLIST_FILES=    bin/BDesktopClock

post-extract:
    @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
        ${WRKSRC}/BDesktopClock.pro

do-configure:
    cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake PREFIX=${PREFIX}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/BDesktopClock ${PREFIX}/bin

.include <bsd.port.mk>