aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/bdesktopclock/Makefile
blob: e72653dfd81b390cb138da42829994ac3f09d004 (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
# 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=   1
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_X_PREFIX=   yes
USE_QT_VER= 3
MAKE_ENV+=  QTDIR=${QT_PREFIX} \
        QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++

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>