aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat-systray-plugin/Makefile
blob: 1c729159441729bbbde7ae9f18b225f270013061 (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
# New ports collection makefile for:    xchat-systray-plugin
# Date Created:             Nov 04 2003
# Whom:                 Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#

PORTNAME=   xchat-systray-plugin
PORTVERSION=    2.4.0
PORTREVISION=   2
CATEGORIES= irc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xchat2-plugins
DISTNAME=   xchat-systray-integration-${PORTVERSION}-src

MAINTAINER= pav@FreeBSD.org
COMMENT=    Systray icon plugin for X-Chat

RUN_DEPENDS=    xchat:${PORTSDIR}/irc/xchat2

PLIST_FILES=    lib/xchat/plugins/systray.so
WRKSRC=     ${WRKDIR}/xchat-systray-integration-${PORTVERSION}
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gtk20
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|-O2|${CFLAGS} -fPIC|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/systray.so ${X11BASE}/lib/xchat/plugins/

.include <bsd.port.mk>