aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/bdesktopclock/Makefile
blob: 7406f5d8da323e600ec635ec25f481559227d122 (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
# 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
CATEGORIES=	x11-clocks
MASTER_SITES=	http://www.bucote.com/opensource/bdesktopclock/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	A wondeful 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>