From owner-svn-ports-all@FreeBSD.ORG Thu Aug 29 21:58:50 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0BCD5708; Thu, 29 Aug 2013 21:58:50 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBCCD2D69; Thu, 29 Aug 2013 21:58:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7TLwn8Z024975; Thu, 29 Aug 2013 21:58:49 GMT (envelope-from mandree@svn.freebsd.org) Received: (from mandree@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7TLwnAr024974; Thu, 29 Aug 2013 21:58:49 GMT (envelope-from mandree@svn.freebsd.org) Message-Id: <201308292158.r7TLwnAr024974@svn.freebsd.org> From: Matthias Andree Date: Thu, 29 Aug 2013 21:58:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325635 - head/archivers/lzo2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:58:50 -0000 Author: mandree Date: Thu Aug 29 21:58:49 2013 New Revision: 325635 URL: http://svnweb.freebsd.org/changeset/ports/325635 Log: Adjust NOPORTDOCS to OptionsNG. Trim header. PR: ports/181644 Submitted by: Takefu Modified: head/archivers/lzo2/Makefile (contents, props changed) Modified: head/archivers/lzo2/Makefile ============================================================================== --- head/archivers/lzo2/Makefile Thu Aug 29 21:24:04 2013 (r325634) +++ head/archivers/lzo2/Makefile Thu Aug 29 21:58:49 2013 (r325635) @@ -1,9 +1,5 @@ -# New ports collection makefile for: lzo -# Date created: 21 Feb 1998 -# Whom: giffunip@asme.org -# +# Created by: giffunip@asme.org # $FreeBSD$ -# PORTNAME= lzo2 PORTVERSION= 2.06 @@ -22,7 +18,9 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR} USE_LDCONFIG= yes -.if defined(NOPORTDOCS) +.include + +.if !${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-exec install-pkgincludeHEADERS .endif @@ -34,7 +32,7 @@ post-build: .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README .for i in AUTHORS BUGS COPYING NEWS README THANKS @@ -42,7 +40,7 @@ post-install: .endfor ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/ .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/ .endif