aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/osdclock/Makefile
blob: de113dbd2e7ec7d8d07244b4fda33a2b9a84faee (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
# New ports collection makefile for:    osdclock
# Date created:     2004-08-06
# Whom:         Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD$
#

PORTNAME=   osdclock
PORTVERSION=    0.5
PORTREVISION=   8
CATEGORIES= x11-clocks
MASTER_SITES=   http://leftorium.net/software/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= novel
DISTNAME=   osd_clock-${PORTVERSION}

MAINTAINER= novel@FreeBSD.org
COMMENT=    Small clock which uses libxosd to render text to the root window

LIB_DEPENDS=    xosd.4:${PORTSDIR}/misc/xosd

MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
        PREFIX="${PREFIX}"

PLIST_FILES=    bin/osd_clock
MAN1=       osd_clock.1

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/osd_clock

.include <bsd.port.mk>