Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 14:59:44 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306182 - head/misc/getopt
Message-ID:  <201210201459.q9KExitp050347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Oct 20 14:59:43 2012
New Revision: 306182
URL: http://svn.freebsd.org/changeset/ports/306182

Log:
  Convert to OptionsNG
  
  Feature safe:	yes

Modified:
  head/misc/getopt/Makefile

Modified: head/misc/getopt/Makefile
==============================================================================
--- head/misc/getopt/Makefile	Sat Oct 20 14:45:37 2012	(r306181)
+++ head/misc/getopt/Makefile	Sat Oct 20 14:59:43 2012	(r306182)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	getopt
-PORTVERSION=	1.1.4
+PORTVERSION=	1.1.5
 PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	http://software.frodo.looijaard.name/getopt/files/
@@ -20,10 +20,12 @@ MAKE_ENV=	LIBCGETOPT=0
 MAN1=		getopt.1
 DOCS=		Changelog README
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}



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