svn commit: r319275 - head/sysutils/prips

Boris Samorodov bsam at FreeBSD.org
Mon May 27 16:54:49 UTC 2013


Author: bsam
Date: Mon May 27 16:54:49 2013
New Revision: 319275
URL: http://svnweb.freebsd.org/changeset/ports/319275

Log:
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . trim Makefile headers.

Modified:
  head/sysutils/prips/Makefile

Modified: head/sysutils/prips/Makefile
==============================================================================
--- head/sysutils/prips/Makefile	Mon May 27 16:48:01 2013	(r319274)
+++ head/sysutils/prips/Makefile	Mon May 27 16:54:49 2013	(r319275)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	prips
-# Date created:		29 October 1999
-# Whom:			Jeremy Shaffner <jeremy at external.org>
-#
+# Created by: Jeremy Shaffner <jeremy at external.org>
 # $FreeBSD$
-#
 
 PORTNAME=	prips
 PORTVERSION=	0.9.9
@@ -23,14 +19,16 @@ MANCOMPRESSED=	yes
 
 MAKE_ENV+=	CFLAGS_WARN="-Wall -W"
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/prips.1.gz ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list