diff options
author | gavin <gavin@FreeBSD.org> | 2014-05-15 09:10:07 +0800 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2014-05-15 09:10:07 +0800 |
commit | b83486f145d9447cb1fc0cf480c5179d1f9abc21 (patch) | |
tree | 31f7d10e799c6112ade84a2df26a57852835c947 /irc/tircd | |
parent | bb7da63c15da88f8366dd856aebda8b6bda8f0bd (diff) | |
download | freebsd-ports-gnome-b83486f145d9447cb1fc0cf480c5179d1f9abc21.tar.gz freebsd-ports-gnome-b83486f145d9447cb1fc0cf480c5179d1f9abc21.tar.zst freebsd-ports-gnome-b83486f145d9447cb1fc0cf480c5179d1f9abc21.zip |
Update irc/tircd to 0.30, and remove NO_STAGE
Approved by: mat
Diffstat (limited to 'irc/tircd')
-rw-r--r-- | irc/tircd/Makefile | 18 | ||||
-rw-r--r-- | irc/tircd/distinfo | 4 | ||||
-rw-r--r-- | irc/tircd/pkg-plist | 5 |
3 files changed, 9 insertions, 18 deletions
diff --git a/irc/tircd/Makefile b/irc/tircd/Makefile index 3c92e4e622b5..37c36a8a9688 100644 --- a/irc/tircd/Makefile +++ b/irc/tircd/Makefile @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= tircd -PORTVERSION= 0.10 +PORTVERSION= 0.30 CATEGORIES= irc MASTER_SITES= GOOGLE_CODE -DISTNAME= ${PORTNAME}_v${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= gavin@FreeBSD.org @@ -14,6 +13,7 @@ COMMENT= IRC proxy to Twitter RUN_DEPENDS= p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \ p5-Time-Local>=0:${PORTSDIR}/devel/p5-Time-Local \ p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \ p5-Net-Twitter-Lite>=0:${PORTSDIR}/net/p5-Net-Twitter-Lite \ @@ -24,13 +24,8 @@ USES= perl5 USE_PERL5= patch build run NO_BUILD= yes -MAN1= tircd.1 USE_RC_SUBR= tircd -NO_STAGE= yes -post-extract: - @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} - post-patch: ${REINPLACE_CMD} -e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \ -e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \ @@ -39,11 +34,8 @@ post-patch: pod2man ${WRKSRC}/tircd.pod > ${WRKSRC}/tircd.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tircd.pl ${PREFIX}/bin/tircd.pl - ${INSTALL_MAN} ${WRKSRC}/tircd.1 ${MAN1PREFIX}/man/man1/tircd.1 - ${INSTALL_DATA} ${WRKSRC}/tircd.cfg.example ${PREFIX}/etc/tircd.cfg.example - @if [ ! -f ${PREFIX}/etc/tircd.cfg ]; then \ - ${CP} -p ${PREFIX}/etc/tircd.cfg.example ${PREFIX}/etc/tircd.cfg ; \ - fi + ${INSTALL_SCRIPT} ${WRKSRC}/tircd.pl ${STAGEDIR}${PREFIX}/bin/tircd.pl + ${INSTALL_MAN} ${WRKSRC}/tircd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/tircd.1 + ${INSTALL_DATA} ${WRKSRC}/tircd.cfg.example ${STAGEDIR}${PREFIX}/etc/tircd.cfg.sample .include <bsd.port.mk> diff --git a/irc/tircd/distinfo b/irc/tircd/distinfo index 0c759befc431..418e921a93b2 100644 --- a/irc/tircd/distinfo +++ b/irc/tircd/distinfo @@ -1,2 +1,2 @@ -SHA256 (tircd_v0.10.tgz) = 81f5ea5441af71d242acc4c2e98757e26005f19235752e8053193bab2aecea54 -SIZE (tircd_v0.10.tgz) = 26766 +SHA256 (tircd-0.30.tgz) = 4b57623481cf7e27dc9668cb44037223db260feadb43553127693b85f62b2c57 +SIZE (tircd-0.30.tgz) = 35618 diff --git a/irc/tircd/pkg-plist b/irc/tircd/pkg-plist index 5accc5993496..1e328512cb98 100644 --- a/irc/tircd/pkg-plist +++ b/irc/tircd/pkg-plist @@ -1,4 +1,3 @@ bin/tircd.pl -@unexec if cmp -s %D/etc/tircd.cfg.example %D/etc/tircd.cfg; then rm -f %D/etc/tircd.cfg; fi -etc/tircd.cfg.example -@exec if [ ! -f %D/etc/tircd.cfg ] ; then cp -p %D/%F %B/tircd.cfg; fi +man/man1/tircd.1.gz +@sample etc/tircd.cfg.sample |