aboutsummaryrefslogtreecommitdiff
path: root/news/brag/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-19 21:48:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-19 21:48:11 +0000
commit384e1e3509130ed61072f2de88f457f02cc8a9ad (patch)
tree6e7a7503216b539057615b6c15f0e1764706e52d /news/brag/Makefile
parent97414a729749af7a110378d5313de472dc90d12d (diff)
downloadports-384e1e3509130ed61072f2de88f457f02cc8a9ad.tar.gz
ports-384e1e3509130ed61072f2de88f457f02cc8a9ad.zip
Notes
Diffstat (limited to 'news/brag/Makefile')
-rw-r--r--news/brag/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/news/brag/Makefile b/news/brag/Makefile
new file mode 100644
index 000000000000..cf5faea42b5f
--- /dev/null
+++ b/news/brag/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: brag
+# Date created: 19 Jul 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= brag
+PORTVERSION= 1.4.1
+CATEGORIES= news tcl84
+MASTER_SITES= http://brag.sourceforge.net/
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= Download and assemble multipart binaries from newsgroups
+
+RUN_DEPENDS= uudeview:${PORTSDIR}/converters/uudeview \
+ ${TCLSH}:${PORTSDIR}/lang/tcl84
+
+USE_REINPLACE= yes
+
+MAN1= brag.1
+PLIST_FILES= bin/brag
+PORTDOCS= CHANGES README
+
+TCLSH= tclsh8.4
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|^\(exec\ \)tclsh|\1${TCLSH}|' \
+ ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>