aboutsummaryrefslogtreecommitdiffstats
path: root/news/brag/Makefile
blob: cd2d284b289db3228abf79514172d9905c51e6e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   brag
PORTVERSION=    1.4.3
CATEGORIES= news tcl
MASTER_SITES=   SF

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Download and assemble multipart binaries from newsgroups

DEPRECATED=     Tcl/Tk 8.4 is no longer maintained, please use 8.5+
EXPIRATION_DATE=    2017-11-20

LICENSE=    GPLv2

RUN_DEPENDS=    uudeview:converters/uudeview \
        ${TCLSH}:lang/tcl84

NO_ARCH=    yes

PLIST_FILES=    bin/brag man/man1/brag.1.gz
PORTDOCS=   CHANGES README

TCLSH=      tclsh8.4

OPTIONS_DEFINE= DOCS

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
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>