From owner-svn-ports-head@freebsd.org Thu Oct 15 20:16:37 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D06ECA15DEA; Thu, 15 Oct 2015 20:16:37 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B79B1C92; Thu, 15 Oct 2015 20:16:37 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9FKGa5o023900; Thu, 15 Oct 2015 20:16:36 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9FKGaQM023899; Thu, 15 Oct 2015 20:16:36 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201510152016.t9FKGaQM023899@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 15 Oct 2015 20:16:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399369 - 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.20 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: Thu, 15 Oct 2015 20:16:37 -0000 Author: sunpoet Date: Thu Oct 15 20:16:36 2015 New Revision: 399369 URL: https://svnweb.freebsd.org/changeset/ports/399369 Log: - Use USES=localbase - Convert to new options target helper Modified: head/misc/getopt/Makefile Modified: head/misc/getopt/Makefile ============================================================================== --- head/misc/getopt/Makefile Thu Oct 15 20:16:31 2015 (r399368) +++ head/misc/getopt/Makefile Thu Oct 15 20:16:36 2015 (r399369) @@ -21,18 +21,19 @@ USES= gmake PORTDOCS= Changelog README -NLS_CFLAGS= -I${LOCALBASE}/include NLS_MAKE_ARGS= WITHOUT_GETTEXT=0 NLS_MAKE_ARGS_OFF= WITHOUT_GETTEXT=1 -NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl -NLS_USES= gettext +NLS_LDFLAGS= -lintl +NLS_USES= gettext localbase post-patch: @${RM} ${WRKSRC}/gnu/*.o post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt .include