Bug 181644 - [PATCH] archivers/lzo2: fix OptionsNG
[PATCH] archivers/lzo2: fix OptionsNG
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Matthias Andree
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 11:10 UTC by takefu
Modified: 2013-08-29 23:00 UTC (History)
1 user (show)

See Also:


Attachments
lzo2-2.06.patch (1.15 KB, patch)
2013-08-29 11:10 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2013-08-29 11:10:00 UTC
  fix OptionsNG
  trim header

Port maintainer (mandree@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer 2013-08-29 11:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mandree

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-08-29 22:58:56 UTC
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"
Comment 3 Matthias Andree freebsd_committer 2013-08-29 23:00:03 UTC
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?