Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 14:47:55 -0600 (CST)
From:      Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16149: package won't work quite right for hevea.sty
Message-ID:  <200001162047.OAA38180@cauchy.math.missouri.edu>

next in thread | raw e-mail | index | archive | help

>Number:         16149
>Category:       ports
>Synopsis:       package won't work quite right for hevea.sty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 12:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
University of Missouri
>Environment:


>Description:

The way the hevea port is installed now, if it is
installed as a package, then chances are hevea.sty
will not be visible to latex.  What I have done is -
instead of having the port copy hevea.sty to a place
where latex can find it, I give instructions as a 
message for the user to put it there.


>How-To-Repeat:


>Fix:

Here is the diffs.  Note I create a whole new file called 
MESSAGE in hevea/pkg.
	
diff -rcN hevea-orig/Makefile hevea/Makefile
*** hevea-orig/Makefile	Sun Dec 26 15:01:07 1999
--- hevea/Makefile	Sun Jan 16 14:44:37 2000
***************
*** 1,6 ****
  # New ports collection makefile for:	hevea
  # Version required:	1.0.4
! # Date created:		Novemeber 28 1999
  # Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
  #
  # $FreeBSD: /ctm/FreeBSD/anoncvs/cvs/ports/textproc/hevea/Makefile,v 1.1 1999/12/25 16:17:03 steve Exp $
--- 1,6 ----
  # New ports collection makefile for:	hevea
  # Version required:	1.0.4
! # Date created:		November 28 1999
  # Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
  #
  # $FreeBSD: /ctm/FreeBSD/anoncvs/cvs/ports/textproc/hevea/Makefile,v 1.1 1999/12/25 16:17:03 steve Exp $
***************
*** 20,32 ****
  post-install:
  	strip ${PREFIX}/bin/hevea
  	strip ${PREFIX}/bin/hacha
! # This is a hack to get hevea.sty put in a place where latex
! # will find it.  If you have a better way to do this, please
! # tell me about it.
! 	${MKDIR} ${TEX_DIR}/hevea
! 	${CP} ${PREFIX}/lib/hevea/hevea.sty ${TEX_DIR}/hevea/hevea.sty
! .if exists(${TEXHASH})
! 	${TEXHASH}
! .endif
  
  .include <bsd.port.mk>
--- 20,25 ----
  post-install:
  	strip ${PREFIX}/bin/hevea
  	strip ${PREFIX}/bin/hacha
! 	${CAT} ${MASTERDIR}/pkg/MESSAGE
  
  .include <bsd.port.mk>
diff -rcN hevea-orig/pkg/MESSAGE hevea/pkg/MESSAGE
*** hevea-orig/pkg/MESSAGE	Wed Dec 31 18:00:00 1969
--- hevea/pkg/MESSAGE	Sun Jan 16 14:23:05 2000
***************
*** 0 ****
--- 1,9 ----
+ ==============================================================
+ You may like to put the file hevea.sty in a place where latex
+ can find it.  For example, if you are using teTeX from the
+ ports, the following commands will do the job:
+ 
+ mkdir -p /usr/local/share/texmf/tex/latex/hevea
+ cp /usr/local/lib/hevea/hevea.sty /usr/local/share/texmf/tex/latex/hevea
+ texhash
+ ==============================================================
diff -rcN hevea-orig/pkg/PLIST hevea/pkg/PLIST
*** hevea-orig/pkg/PLIST	Sun Dec 26 15:01:07 1999
--- hevea/pkg/PLIST	Sun Jan 16 14:22:43 2000
***************
*** 32,40 ****
  lib/hevea/text/report.hva
  lib/hevea/text/seminar.hva
  lib/hevea/text/symb.hva
- share/texmf/tex/latex/hevea/hevea.sty
  @dirrm lib/hevea/html
  @dirrm lib/hevea/info
  @dirrm lib/hevea/text
  @dirrm lib/hevea
- @dirrm share/texmf/tex/latex/hevea
--- 32,38 ----


>Release-Note:
>Audit-Trail:
>Unformatted:
 Stephen Montgomery-Smith


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001162047.OAA38180>