[Midnightbsd-cvs] mports [16948] trunk/textproc/texi2html: fix build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 7 13:48:11 EDT 2014
Revision: 16948
http://svnweb.midnightbsd.org/mports/?rev=16948
Author: laffer1
Date: 2014-09-07 13:48:11 -0400 (Sun, 07 Sep 2014)
Log Message:
-----------
fix build
Modified Paths:
--------------
trunk/textproc/texi2html/Makefile
trunk/textproc/texi2html/pkg-plist
Modified: trunk/textproc/texi2html/Makefile
===================================================================
--- trunk/textproc/texi2html/Makefile 2014-09-07 17:45:11 UTC (rev 16947)
+++ trunk/textproc/texi2html/Makefile 2014-09-07 17:48:11 UTC (rev 16948)
@@ -1,14 +1,9 @@
-# New ports collection makefile for: texi2html
-# Date created: 5 Nov 1997
-# Whom: Ian Vaudrey <i.vaudrey at bigfoot.com>
-#
# $MidnightBSD$
# $FreeBSD: ports/textproc/texi2html/Makefile,v 1.22 2005/02/14 22:05:53 roam Exp $
-#
PORTNAME= texi2html
PORTVERSION= 5.0
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= SAVANNAH
@@ -15,16 +10,21 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= Texinfo to HTML converter
+
LICENSE= gpl2
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL}
CONFIGURE_ARGS= --disable-multiplatform
-USE_BZIP2= yes
+USES= gmake tar:bzip2
USE_PERL5= yes
-USE_GMAKE= yes
OPTIONS_DEFINE= NLS DOCS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE=nls translations
+
PROGRAM_PREFIX?=
PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \
TEXINFODIR=share/texinfo
@@ -33,20 +33,10 @@
CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
.endif
-MAN1= ${PROGRAM_PREFIX}texi2html.1
INFO= texi2html
.include <bsd.mport.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
-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"
Modified: trunk/textproc/texi2html/pkg-plist
===================================================================
--- trunk/textproc/texi2html/pkg-plist 2014-09-07 17:45:11 UTC (rev 16947)
+++ trunk/textproc/texi2html/pkg-plist 2014-09-07 17:48:11 UTC (rev 16948)
@@ -1,5 +1,5 @@
- at 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
More information about the Midnightbsd-cvs
mailing list