2013-07-26 07:33:41 +00:00
|
|
|
# Created by: Anders Nordby <anders@fix.no>
|
2001-07-07 14:44:13 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tlb
|
|
|
|
PORTVERSION= 0.11a
|
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= ftp://ftp.hpc.uh.edu/pub/tlb/ \
|
|
|
|
http://www.freenix.no/~anders/ \
|
|
|
|
ftp://totem.fix.no/pub/mirrors/misc/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-03-14 00:11:40 +00:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= The List Batcher, a general purpose mail list delivery engine
|
2001-07-07 14:44:13 +00:00
|
|
|
|
2012-06-29 10:05:08 +00:00
|
|
|
RUN_DEPENDS= p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
|
|
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
|
|
|
|
p5-Net>=0:${PORTSDIR}/net/p5-Net
|
2001-07-07 14:44:13 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
DOCS= FAQ INSTALL README README.loglevels README.mungelist TIPS TODO \
|
|
|
|
complete.tlb mj.tlb simple.tlb
|
|
|
|
FIXPREFIX= tlb mungelist complete.tlb mj.tlb simple.tlb
|
|
|
|
|
2013-07-26 07:33:41 +00:00
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= ${FIXPREFIX}
|
|
|
|
perl_OLD_CMD= /usr/local/bin/perl5
|
|
|
|
|
2001-07-07 14:44:13 +00:00
|
|
|
pre-patch:
|
|
|
|
.for f in ${FIXPREFIX}
|
2013-07-27 16:06:25 +00:00
|
|
|
@${REINPLACE_CMD} -i '' -e 's@/usr/lib/sendmail@/usr/sbin/sendmail@' ${WRKSRC}/${f}
|
2001-07-07 14:44:13 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tlb ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mungelist ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/tlb
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/tlb
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|