Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 14:07:52 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309742 - head/archivers/star
Message-ID:  <201212311407.qBVE7q5Q046134@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 14:07:52 2012
New Revision: 309742
URL: http://svnweb.freebsd.org/changeset/ports/309742

Log:
  Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
  Trim headers

Modified:
  head/archivers/star/Makefile

Modified: head/archivers/star/Makefile
==============================================================================
--- head/archivers/star/Makefile	Mon Dec 31 14:06:45 2012	(r309741)
+++ head/archivers/star/Makefile	Mon Dec 31 14:07:52 2012	(r309742)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	star
-# Date created:		Thu May  1 20:28:44 CEST 1997
-# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas@klemm.gtn.com>
 # $FreeBSD$
-#
 
 PORTNAME=	star
 DISTVERSION=	1.5.1
@@ -34,6 +29,9 @@ MAKE_ENV+=	MAKEFLAGS=${MAKEFLAGS}
 PORTDOCS=	README README.crash README.mtio README.pattern STARvsGNUTAR \
 		README.ACL README.largefiles README.otherbugs \
 		README.posix-2001
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${FIND} ${WRKSRC} -type f -print \
 		| ${XARGS} ${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g"
@@ -63,7 +61,7 @@ do-install:
 	fi
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for FILE in ${PORTDOCS}
 	@${INSTALL_DATA} ${WRKSRC}/star/${FILE} ${DOCSDIR}/${FILE}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311407.qBVE7q5Q046134>