Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2013 17:56:11 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319124 - head/sysutils/915resolution
Message-ID:  <201305261756.r4QHuBse014755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Sun May 26 17:56:11 2013
New Revision: 319124
URL: http://svnweb.freebsd.org/changeset/ports/319124

Log:
  . convert NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . mute mkdir;
  . use PKG_PLIST and remove pkg-plist.

Deleted:
  head/sysutils/915resolution/pkg-plist
Modified:
  head/sysutils/915resolution/Makefile

Modified: head/sysutils/915resolution/Makefile
==============================================================================
--- head/sysutils/915resolution/Makefile	Sun May 26 17:36:38 2013	(r319123)
+++ head/sysutils/915resolution/Makefile	Sun May 26 17:56:11 2013	(r319124)
@@ -14,21 +14,23 @@ COMMENT=	Resolution tool for Intel i915 
 
 USE_RC_SUBR=	915resolution
 
-DOCS=		README.txt LICENSE.txt chipset_info.txt changes.log
+PLIST_FILES=	sbin/915resolution
+OPTIONS_DEFINE=	DOCS
+PORTDOCS=	README.txt LICENSE.txt chipset_info.txt changes.log
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-.include <bsd.port.pre.mk>
-
 do-build:
 	cd ${WRKSRC} && \
 		${CC} ${CFLAGS} 915resolution.c -o 915resolution
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+.if ${PORT_OPTIONS:DOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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