From owner-svn-ports-head@FreeBSD.ORG Sun Jan 12 17:39:20 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AF31C56; Sun, 12 Jan 2014 17:39:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F08AF1256; Sun, 12 Jan 2014 17:39:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0CHdJex029868; Sun, 12 Jan 2014 17:39:19 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0CHdJW6029865; Sun, 12 Jan 2014 17:39:19 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201401121739.s0CHdJW6029865@svn.freebsd.org> From: Johan van Selst Date: Sun, 12 Jan 2014 17:39:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339525 - head/textproc/texi2html 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.17 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: Sun, 12 Jan 2014 17:39:20 -0000 Author: johans Date: Sun Jan 12 17:39:19 2014 New Revision: 339525 URL: http://svnweb.freebsd.org/changeset/ports/339525 Log: Enable stage support + minor cleanups Modified: head/textproc/texi2html/Makefile head/textproc/texi2html/pkg-plist Modified: head/textproc/texi2html/Makefile ============================================================================== --- head/textproc/texi2html/Makefile Sun Jan 12 17:18:59 2014 (r339524) +++ head/textproc/texi2html/Makefile Sun Jan 12 17:39:19 2014 (r339525) @@ -14,10 +14,14 @@ COMMENT= Texinfo to HTML converter GNU_CONFIGURE= yes CONFIGURE_ENV= PERL=${PERL} CONFIGURE_ARGS= --disable-multiplatform -USES= gmake perl5 +USES= gmake perl5 shebangfix USE_BZIP2= yes +SHEBANG_FILES= *.pl OPTIONS_DEFINE= NLS DOCS +OPTIONS_SUB= yes +NLS_USES= gettext +NLS_CONFIGURE_ENABLE=nls translations PROGRAM_PREFIX?= PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \ @@ -27,21 +31,8 @@ PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREF CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}" .endif -MAN1= ${PROGRAM_PREFIX}texi2html.1 INFO= texi2html -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+=--enable-nls --enable-translations -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls --disable-translations -PLIST_SUB+= NLS="@comment " -.endif - pre-everything:: @${ECHO} "" @${ECHO} "You can define the PROGRAM_PREFIX variable to change the name that" @@ -49,12 +40,8 @@ pre-everything:: @${ECHO} "" post-patch: - @${REINPLACE_CMD} -e 's/^translations.pl/_&/' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e 's| install-texinfohtmlDATA||g' ${WRKSRC}/doc/Makefile.in -.endif - @${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl + @${REINPLACE_CMD} -e 's/^translations.pl/_&/' \ + -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in @${CHMOD} +x ${WRKSRC}/install-sh .include Modified: head/textproc/texi2html/pkg-plist ============================================================================== --- head/textproc/texi2html/pkg-plist Sun Jan 12 17:18:59 2014 (r339524) +++ head/textproc/texi2html/pkg-plist Sun Jan 12 17:39:19 2014 (r339525) @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/%%PROGRAM_PREFIX%%texi2html +man/man1/%%PROGRAM_PREFIX%%texi2html.1.gz %%DATADIR%%/i18n/de.thl %%DATADIR%%/i18n/en.thl %%DATADIR%%/i18n/es.thl