summaryrefslogtreecommitdiff
path: root/news/brag
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /news/brag
parent. Update to 7u11. (diff)
- Use DOC instead of NOPORTDOCS
- Pacify portlint - Convert header
Notes
Notes: svn path=/head/; revision=310443
Diffstat (limited to 'news/brag')
-rw-r--r--news/brag/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/news/brag/Makefile b/news/brag/Makefile
index c2475f2f0815..e343a0267a5c 100644
--- a/news/brag/Makefile
+++ b/news/brag/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: brag
-# Date created: 19 Jul 2005
-# Whom: Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-#
PORTNAME= brag
PORTVERSION= 1.4.1
@@ -25,6 +21,10 @@ 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}
@@ -33,7 +33,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}