From owner-freebsd-ports-bugs Thu Feb 20 9:10:48 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05CF037B406 for ; Thu, 20 Feb 2003 09:10:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6747B43FDD for ; Thu, 20 Feb 2003 09:10:24 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1KHAONS058553 for ; Thu, 20 Feb 2003 09:10:24 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1KHAO3T058552; Thu, 20 Feb 2003 09:10:24 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C0C337B401 for ; Thu, 20 Feb 2003 08:39:08 -0800 (PST) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.49.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7372E43F3F for ; Thu, 20 Feb 2003 08:39:07 -0800 (PST) (envelope-from stephen@cauchy.math.missouri.edu) Received: from cauchy.math.missouri.edu (stephen@localhost [127.0.0.1]) by cauchy.math.missouri.edu (8.12.6/8.12.6) with ESMTP id h1KGcPf9073176 for ; Thu, 20 Feb 2003 10:38:25 -0600 (CST) (envelope-from stephen@cauchy.math.missouri.edu) Received: (from stephen@localhost) by cauchy.math.missouri.edu (8.12.6/8.12.6/Submit) id h1KGcPEH073175; Thu, 20 Feb 2003 10:38:25 -0600 (CST) (envelope-from stephen) Message-Id: <200302201638.h1KGcPEH073175@cauchy.math.missouri.edu> Date: Thu, 20 Feb 2003 10:38:25 -0600 (CST) From: Stephen Montgomery-Smith Reply-To: Stephen Montgomery-Smith To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48488: teTeX is by default for A4 paper Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48488 >Category: ports >Synopsis: teTeX is by default for A4 paper >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 20 09:10:23 PST 2003 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD cauchy 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Feb 2 11:27:50 CST 2003 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386 >Description: The programs dvips, dvipdfm and xdvi that are installed with teTeX are designed to work with A4 paper. But many people use letter paper. It is easy to configure teTeX to use letter paper, but then all the checksums are messed up for make deinstall. Obviously this is by no means a major problem. But the fix below is easy and unobtrusive. >How-To-Repeat: >Fix: This small change to the print/teTeX port will enable users to type make USE_LETTER_PAPER=yes install if they want to have teTeX configured for letter paper. diff -ur teTeX-old/Makefile teTeX/Makefile --- teTeX-old/Makefile Thu Feb 20 10:29:42 2003 +++ teTeX/Makefile Thu Feb 20 10:31:04 2003 @@ -73,6 +73,14 @@ LIBWWW_PREFIX?= ${LOCALBASE} TEXMF_TREE= ${PREFIX}/share/texmf +pre-everything:: +.if !defined(USE_LETTER_PAPER) + @${ECHO_MSG} "********************************************************" + @${ECHO_MSG} "Define USE_LETTER_PAPER if you want teTeX configured" + @${ECHO_MSG} "for letter paper instead of the default A4." + @${ECHO_MSG} "********************************************************" +.endif + pre-configure: @${ECHO_MSG} @${ECHO_MSG} "It will be ok if configure will complain about a missing texmf tree!" @@ -92,6 +100,14 @@ ${PREFIX}/bin/texconfig font ro > /dev/null 2>&1 @${SETENV} TEXMFMAIN=${TEXMF_TREE} \ ${PREFIX}/bin/texconfig font options appendonlydir varfonts +.if defined(USE_LETTER_PAPER) + @${SETENV} TEXMFMAIN=${TEXMF_TREE} \ + ${PREFIX}/bin/texconfig dvips paper letter + @${SETENV} TEXMFMAIN=${TEXMF_TREE} \ + ${PREFIX}/bin/texconfig dvipdfm paper letter + @${SETENV} TEXMFMAIN=${TEXMF_TREE} \ + ${PREFIX}/bin/texconfig xdvi us +.endif @${ECHO_MSG} @${ECHO_MSG} "You may want to run texconfig to configure teTeX for your" @${ECHO_MSG} "local environment. You will find teTeX's local documentation" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message