aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/buici-clock/Makefile
blob: 474b0dbe732c941acba0c3da18c06f771d5013cc (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
40
41
42
43
44
45
# New ports collection makefile for:    buici-clock
# Date created:     22nd Nov 2004
# Whom:             Hendrik Scholz <hscholz@raisdorf.net>
#
# $FreeBSD$
#

PORTNAME=   buici-clock
PORTVERSION=    0.4.9.2
CATEGORIES= x11-clocks
MASTER_SITES=   DEBIAN
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Xlib implementation of an attractive, configurable clock

LICENSE=    GPLv2 # (or later)

LIB_DEPENDS=    cairo.2:${PORTSDIR}/graphics/cairo

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_XORG=   x11 xext
USE_GNOME=  pkgconfig
USE_BISON=  build
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_JOBS_UNSAFE=yes

MAN1=       buici-clock.1
PLIST_FILES=    bin/buici-clock

post-patch:
    @${REINPLACE_CMD} -e \
        's|echo -e|echo| ; \
         s|-g | |' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e \
        's|_=|+=| ; \
         s|-g | |' ${WRKSRC}/xo/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/buici-clock ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/buici-clock.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>