aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmmsg/Makefile
blob: 86fc92fa77233cd953fc7a6cbdb8b3bec7d868e8 (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
# New ports collection makefile for:    wmmsg
# Date created:         22 January 2004
# Whom:                 Thomas Kempka <t.kempka@web.de>
#
# $FreeBSD$
#

PORTNAME=   wmmsg
PORTVERSION=    1.0
PORTREVISION=   10
CATEGORIES= x11 windowmaker
MASTER_SITES=   http://mirror.israel.net/pub/FreeBSD/distfiles/

MAINTAINER= t.kempka@web.de
COMMENT=    Dockapp that notifies you on ICQ, AIM and IRC events

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_GNOME=  gtk12
USE_BZIP2=  yes
USE_XORG=   xpm
USE_EFL=    imlib2
GNU_CONFIGURE=  yes

MAN1=       wmmsg.1

post-patch:
    @${REINPLACE_CMD} -e 's|exit (|_exit(|g' \
        ${WRKSRC}/src/wmgeneral/wmgeneral.c \
        ${WRKSRC}/src/wmgeneral/misc.c
    @${REINPLACE_CMD} -e 's|long currtime\;|time_t currtime\;|g' \
        ${WRKSRC}/src/wmmsg/wmmsg.c
    @${REINPLACE_CMD} -e 's| man\/wmmsg_notify\.1||g' ${WRKSRC}/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${ECHO_MSG} "===>   Installing wmmsgrc.dist to ${DOCSDIR}"
    @${INSTALL_DATA} ${WRKSRC}/wmmsgrc ${DOCSDIR}/wmmsgrc.dist
.endif

.include <bsd.port.mk>