summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/newfile/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile
index 941a77df08da..4104a6671551 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