mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
14c26b1a59
I don't bump PORTREVISION. Because dependency on ja-p5-Jcode is correct, only path isn't correct. This is build phase issue.
48 lines
1.1 KiB
Makefile
48 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.29
|
|
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
|
|
USE_REINPLACE= YES
|
|
EXTRACT_CMD= ${CP}
|
|
EXTRACT_BEFORE_ARGS= -p
|
|
EXTRACT_AFTER_ARGS= ${WRKDIR}
|
|
|
|
do-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>
|