1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/news/ubh/Makefile
Baptiste Daroussin 6524537c5c Support stage
2013-12-27 09:35:29 +00:00

35 lines
992 B
Makefile

# Created by: John Holland <john@zoner.org>
# $FreeBSD$
PORTNAME= ubh
PORTVERSION= 2.5
PORTREVISION= 1
CATEGORIES= news graphics
MASTER_SITES= http://ubh.sourceforge.net/download/
MAINTAINER= john@zoner.org
COMMENT= Perl script to download and decode binaries posted to Usenet
RUN_DEPENDS= \
p5-News-Newsrc>=0:${PORTSDIR}/news/p5-News-Newsrc \
p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
p5-String-CRC32>=0:${PORTSDIR}/devel/p5-String-CRC32
NO_BUILD= YES
USES= perl5
pre-patch:
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
${WRKSRC}/ubh.old > ${WRKSRC}/ubh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin
${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ubh
${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${STAGEDIR}${PREFIX}/share/doc/ubh
.include <bsd.port.mk>