aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jarl/Makefile
blob: 9cca0ad7998afceb3567fa40b61537c73d31c1f2 (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
# Created by: dd
# $FreeBSD$

PORTNAME=   jarl
PORTVERSION=    0.5001
PORTREVISION=   5
CATEGORIES= net-im
MASTER_SITES=   SF
DISTNAME=   Jarl-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl/Tk Jabber client

LICENSE=    GPLv2

RUN_DEPENDS=    ptksh:x11-toolkits/p5-Tk \
        p5-Net-Jabber>=0:net-im/p5-Net-Jabber

USES=       perl5
NO_BUILD=   yes

post-patch:
    ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/jarl
    ${FIND} ${WRKSRC}/lib -name "*.orig" -delete

do-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}/lib
    @${MKDIR} ${STAGEDIR}${DATADIR}/bitmaps
    cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/lib
    cd ${WRKSRC}/bitmaps && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/bitmaps
    ${INSTALL_SCRIPT} ${WRKSRC}/jarl ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>