aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rej
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 /sysutils/rej
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
Notes
Diffstat (limited to 'sysutils/rej')
-rw-r--r--sysutils/rej/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/rej/Makefile b/sysutils/rej/Makefile
index aebebb1f2b21..dd1bce2f4d4b 100644
--- a/sysutils/rej/Makefile
+++ b/sysutils/rej/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rej
-# Date created: 16 Sep 2005
-# Whom: Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-#
PORTNAME= rej
PORTVERSION= 0.16
@@ -19,7 +15,9 @@ NO_BUILD= yes
PORTDOCS= CHANGELOG README vimrc
PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
post-patch:
.for f in ${PORTNAME} qp mp
@@ -35,7 +33,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin/${PORTNAME}-${f}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
@@ -45,4 +43,4 @@ do-install:
run-test: patch
@cd ${WRKSRC}; ${SH} runtests.sh
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>