Fix build and removed BROKEN tag.

- missing files added to plist
	- use -i option for FreeBSD 6
	- fix package name (accidently changed in rev 1.4, restored)

Pointyhat to: matusita
Notified by: pav (but due to email trouble I couldn't read it until today)
This commit is contained in:
Makoto Matsushita 2010-05-11 01:31:06 +00:00
parent 1063901ef9
commit 1ee1e2048e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254109
2 changed files with 6 additions and 7 deletions

View file

@ -6,8 +6,8 @@
#
PORTNAME= keitairc
PORTVERSION= 2.0.rc.1
#PORTREVISION= 0
PORTVERSION= 2.0.r1
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= ${PORTNAME}/47170
@ -18,8 +18,6 @@ DISTNAME= keitairc-2.0rc1
MAINTAINER= matusita@FreeBSD.org
COMMENT=IRC proxy for mobilephone that have a web interface
BROKEN= incomplete plist
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 \
@ -38,9 +36,9 @@ post-extract:
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,__KEITAIRC_DATA_DIR__,${DATADIR}/lib," ${WRKSRC}/lib/Keitairc/Config.pm
${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,__KEITAIRC_DATA_DIR__,${DATADIR}/lib," ${WRKSRC}/lib/Keitairc/Config.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin

View file

@ -56,6 +56,7 @@ bin/keitairc
%%DATADIR%%/lib/public/iui/backButton.png
%%DATADIR%%/lib/public/iui/blueButton.png
%%DATADIR%%/lib/public/iui/cancel.png
%%DATADIR%%/lib/public/iui/chevron.png
%%DATADIR%%/lib/public/iui/grayButton.png
%%DATADIR%%/lib/public/iui/iui-logo-touch-icon.png
%%DATADIR%%/lib/public/iui/iui.css