From owner-svn-ports-head@FreeBSD.ORG Sat Oct 20 14:59:44 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A9798A9; Sat, 20 Oct 2012 14:59:44 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 810C68FC12; Sat, 20 Oct 2012 14:59:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9KExiZq050349; Sat, 20 Oct 2012 14:59:44 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9KExitp050347; Sat, 20 Oct 2012 14:59:44 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210201459.q9KExitp050347@svn.freebsd.org> From: Eitan Adler Date: Sat, 20 Oct 2012 14:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306182 - head/misc/getopt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 14:59:44 -0000 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 + 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}