freebsd-ports/irc/keitairc2/Makefile
Makoto Matsushita a39200ab55 Oops, use -i instead of -I; sed of releng/6 doesn't have this option.
No bumps here; no content change, just a fix for build.
2009-10-21 15:08:11 +00:00

53 lines
1.7 KiB
Makefile

# New ports collection makefile for: keitairc2
# Date created: 18 Jan 2008
# Whom: Makoto Matsushita <matusita@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= keitairc
PORTVERSION= 2.0.b.12
#PORTREVISION= 0
CATEGORIES= irc
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= ${PORTNAME}/43728
DISTNAME= keitairc-2.0b12
PATCH_SITES= http://home.jp.FreeBSD.org/~matusita/keitairc2/
PATCHFILES= keitairc-2.0b12-ticket18875.patch \
keitairc-2.0b12-ticket19079.patch
MAINTAINER= matusita@FreeBSD.org
COMMENT=IRC proxy for mobilephone that have a web interface
RUN_DEPENDS= ${SITE_PERL}/POE/Component/IRC.pm:${PORTSDIR}/irc/p5-POE-Component-IRC \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
${SITE_PERL}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig
CONFLICTS= keitairc-1.*
NO_BUILD= yes
USE_PERL5= 5.8.0+
USE_PERL5_REASON= runs on perl 5.8 or later
post-extract:
${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -rf
post-patch:
${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -rf
${REINPLACE_CMD} -i '' -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc
${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib," ${WRKSRC}/keitairc
${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib," ${WRKSRC}/lib/Keitairc/Config.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin
${MKDIR} ${DATADIR}
.for dir in doc etc lib
${CP} -R ${WRKSRC}/${dir} ${DATADIR}
.endfor
.include <bsd.port.mk>