aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/jarl/Makefile
blob: d58847bc45ce18d379012ced2d7ed4fdce396317 (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
# New ports collection makefile for:        jarl
# Date created:                 10 November 2002
# Whom:                     dd
#
# $FreeBSD$
#

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

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

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

NO_BUILD=   yes

USE_PERL5=  yes

makeplist:
    ${ECHO_CMD} bin/jarl > ${PLIST}
    ${FIND} ${PREFIX}/share/jarl ! -name "*.orig" -type f -print | ${CUT} -d/ -f4- >> \
        ${PLIST}
    ${FIND} ${PREFIX}/share/jarl -type d -print | ${CUT} -d/ -f4- | \
        ${SORT} -r | ${SED} 's/^/@dirrm /' >> ${PLIST}

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

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

.include <bsd.port.mk>