a9feb46772
Also shutup POE::Component::IRC->new() warning.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: keitairc
|
|
# Date created: 11 Nov 2005
|
|
# Whom: Makoto Matsushita <matusita@FreeBSD.ORG>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= keitairc
|
|
PORTVERSION= 1.30
|
|
#PORTREVISION= 0
|
|
CATEGORIES= irc
|
|
MASTER_SITES= http://keitairc.sourceforge.jp/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= #empty
|
|
|
|
MAINTAINER= matusita@FreeBSD.org
|
|
COMMENT=IRC proxy for mobilephone that have a web interface
|
|
|
|
RUN_DEPENDS= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
|
|
${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}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig
|
|
|
|
PLIST_FILES= bin/keitairc
|
|
|
|
NO_BUILD= YES
|
|
NO_WRKSUBDIR= YES
|
|
EXTRACT_CMD= ${CP}
|
|
EXTRACT_BEFORE_ARGS= -p
|
|
EXTRACT_AFTER_ARGS= ${WRKDIR}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500801
|
|
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
|
|
.else
|
|
JCODE= ${SITE_PERL}/Jcode.pm
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|