From owner-svn-ports-head@FreeBSD.ORG Tue Jan 28 15:16:40 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 5D5F8D4; Tue, 28 Jan 2014 15:16:40 +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 2E80916B8; Tue, 28 Jan 2014 15:16:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SFGeH7034369; Tue, 28 Jan 2014 15:16:40 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0SFGet6034368; Tue, 28 Jan 2014 15:16:40 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201401281516.s0SFGet6034368@svn.freebsd.org> From: Alexey Dokuchaev Date: Tue, 28 Jan 2014 15:16:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341591 - head/textproc/docbook-to-man 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: Tue, 28 Jan 2014 15:16:40 -0000 Author: danfe Date: Tue Jan 28 15:16:39 2014 New Revision: 341591 URL: http://svnweb.freebsd.org/changeset/ports/341591 QAT: https://qat.redports.org/buildarchive/r341591/ Log: Remove reference to alpha (long unsupported) and generally cleanup the port. Modified: head/textproc/docbook-to-man/Makefile Modified: head/textproc/docbook-to-man/Makefile ============================================================================== --- head/textproc/docbook-to-man/Makefile Tue Jan 28 15:08:47 2014 (r341590) +++ head/textproc/docbook-to-man/Makefile Tue Jan 28 15:16:39 2014 (r341591) @@ -11,51 +11,31 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= DocBook SGML DTD into nroff/troff -man macros converter -# Global variables -# -.if defined(WITH_OPENJADE) -RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade -.else -RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade -.endif -RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook +RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook USES= imake XFREE86_HTML_MAN= no -.include - -# Local variables -# - # There are two ports that satisfy the nsgmls requirement. -# Jade is preferred. +# Jade is preferred, but OpenJade can be selected if needed. +OPTIONS_DEFINE= OPENJADE +OPENJADE_DESC= Use OpenJade SGML/XML/DSSSL toolkit instead of Jade -.if ${ARCH} == "alpha" -WITH_OPENJADE= yes -.endif +.include -.if defined(WITH_OPENJADE) +.if ${PORT_OPTIONS:MOPENJADE} +RUN_DEPENDS+= onsgmls:${PORTSDIR}/textproc/openjade NSGMLS= onsgmls .else +RUN_DEPENDS+= nsgmls:${PORTSDIR}/textproc/jade NSGMLS= nsgmls .endif -# Post extract -# - -post-extract: move-instant.1 - -move-instant.1: +post-extract: @${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man -# Post patch -# - -post-patch: patch-docbook-to-man - -patch-docbook-to-man: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|;s|%%NSGMLS%%|${NSGMLS}|' \ - ${WRKSRC}/cmd/docbook-to-man.sh +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}| ; \ + s|%%NSGMLS%%|${NSGMLS}|' ${WRKSRC}/cmd/docbook-to-man.sh -.include +.include