1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/news/brag/Makefile
2013-10-26 07:52:07 +00:00

41 lines
921 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= brag
PORTVERSION= 1.4.1
CATEGORIES= news tcl
MASTER_SITES= http://brag.sourceforge.net/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Download and assemble multipart binaries from newsgroups
RUN_DEPENDS= uudeview:${PORTSDIR}/converters/uudeview \
${TCLSH}:${PORTSDIR}/lang/tcl84
PLIST_FILES= bin/brag man/man1/brag.1.gz
PORTDOCS= CHANGES README
TCLSH= tclsh8.4
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^\(exec\ \)tclsh|\1${TCLSH}|' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>