aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/wmfishtime/Makefile
blob: 19030b258107d6790afe6ae6448aa9a72252b125 (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
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$

PORTNAME=   wmfishtime
PORTVERSION=    1.24
PORTREVISION=   5
CATEGORIES= x11-clocks windowmaker
MASTER_SITES=   http://www.ne.jp/asahi/linux/timecop/software/ \
        http://atreides.freenix.no/~anders/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Time/date applet for WindowMaker with fishes swimming around

USE_GNOME=  gtk12

GTK_LIBS?=  `${GTK_CONFIG} --libs`
GTK_CFLAGS?=    `${GTK_CONFIG} --cflags`
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall ${GTK_CFLAGS}" \
        LDFLAGS="${LDFLAGS}" \
        GTK_LIBS="${GTK_LIBS}"
PLIST_FILES=    bin/wmfishtime man/man1/${PORTNAME}.1.gz

post-patch:
    ${REINPLACE_CMD} -E -e "s@1\.23@1\.24@g" ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/wmfishtime.1 ${STAGEDIR}${PREFIX}/man/man1/

.include <bsd.port.mk>