aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/osdclock/Makefile
blob: 2759146d49cf6223275de190932e1b2c15d5d419 (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
# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$

PORTNAME=   osdclock
PORTVERSION=    0.5
PORTREVISION=   10
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=    libxosd.so:${PORTSDIR}/misc/xosd

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

PLIST_FILES=    bin/osd_clock man/man1/osd_clock.1.gz

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

.include <bsd.port.mk>