fix OptionsNG trim header Port maintainer (mandree@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
Responsible Changed From-To: freebsd-ports-bugs->mandree Over to maintainer (via the GNATS Auto Assign Tool)
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 <takefu@airport.fm> 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 <bsd.port.options.mk> + +.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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks! Note that I had to rediff the patch - was your ports tree fully up to date when diffing?