aboutsummaryrefslogtreecommitdiffstats
path: root/devel/newfile
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-02-18 12:17:46 +0800
committereadler <eadler@FreeBSD.org>2013-02-18 12:17:46 +0800
commita7c185465801fc912ae7a982431171803e72ce9f (patch)
treeac7627f482b703b1f3420afadc50f97641d44196 /devel/newfile
parentbedd7a20b92be3383d42e1bff5645fdf99d69760 (diff)
downloadfreebsd-ports-graphics-a7c185465801fc912ae7a982431171803e72ce9f.tar.gz
freebsd-ports-graphics-a7c185465801fc912ae7a982431171803e72ce9f.tar.zst
freebsd-ports-graphics-a7c185465801fc912ae7a982431171803e72ce9f.zip
Convert to OptionsNG
Trim Header
Diffstat (limited to 'devel/newfile')
-rw-r--r--devel/newfile/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile
index 941a77df08d..4104a667155 100644
--- a/devel/newfile/Makefile
+++ b/devel/newfile/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: newfile
-# Date created: Thu Jan 30 17:34:12 CET 2003
-# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
-#
+# Created by: Miguel Mendez <flynn@energyhq.homeip.net>
# $FreeBSD$
-#
PORTNAME= newfile
PORTVERSION= 1.0.14
@@ -20,9 +16,11 @@ GNU_CONFIGURE= yes
MAN1= newfile.1
DOCS= doc/newfile.html
+.include <bsd.port.options.mk>
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if defined (${PORT_OPTIONS:MDOCS})
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif