aboutsummaryrefslogtreecommitdiffstats
path: root/irc/keitairc/Makefile
blob: 47471babdcf041e4cb713b81f439625d44d2e8a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    keitairc
# Date created:     11 Nov 2005
# Whom:         Makoto Matsushita <matusita@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=   keitairc
PORTVERSION=    1.33
#PORTREVISION=  0
CATEGORIES= irc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME}/27571
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   #empty

MAINTAINER= matusita@FreeBSD.org
COMMENT=IRC proxy for mobilephone that have a web interface

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Unicode/Japanese.pm:${PORTSDIR}/japanese/p5-Unicode-Japanese \
        ${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}/Proc/Daemon.pm:${PORTSDIR}/devel/p5-Proc-Daemon \
        ${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}

USE_PERL5=  yes

post-patch:
    ${REINPLACE_CMD} -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin

.include <bsd.port.mk>