Update irc/tircd to 0.30, and remove NO_STAGE
Approved by: mat
This commit is contained in:
parent
decafafb4a
commit
f4eda4dda2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354097
3 changed files with 9 additions and 18 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue