1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net-im/jarl/Makefile
Pietro Cerutti 0ebd6ccab2 - Fix plist
Reported by:	erwinbot
Approved by:	miwi (mentor)
2008-03-14 15:43:28 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: jarl
# Date created: 10 November 2002
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= jarl
PORTVERSION= 0.5001
PORTREVISION= 3
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 \
${SITE_PERL}/Net/Jabber/IQ.pm:${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>