1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-im/jarl/Makefile
Ying-Chieh Liao c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: jarl
# Date created: 10 November 2002
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= jarl
PORTVERSION= 0.5001
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= Jarl-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Perl/Tk Jabber client
RUN_DEPENDS= ptksh:${PORTSDIR}/x11-toolkits/p5-Tk \
${SITE_PERL}/Net/Jabber/IQ.pm:${PORTSDIR}/net/p5-Net-Jabber
NO_BUILD= yes
USE_REINPLACE= yes
USE_PERL5= yes
makeplist:
${ECHO_CMD} bin/jarl > ${PLIST}
${FIND} ${PREFIX}/share/jarl -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
do-install:
${MKDIR} ${PREFIX}/share/jarl
${INSTALL_SCRIPT} ${WRKSRC}/jarl ${PREFIX}/bin
cd ${WRKSRC} && ${FIND} lib bitmaps -type d -print | while read d; do \
${MKDIR} ${PREFIX}/share/jarl/$$d; \
${FIND} $$d -maxdepth 1 -type f -print | \
${XARGS} -t -J% ${INSTALL_DATA} % \
${PREFIX}/share/jarl/$$d; \
done;
.include <bsd.port.mk>