Date: Thu, 10 Feb 2000 02:44:25 +0900 (JST) From: Kentaro Inagaki / =?iso-2022-jp?B?GyRCMHAzQBsoQiAbJEI3ckJATzobKEI=?= <inagaki@tg.rim.or.jp> To: freebsd-gnats-submit@freebsd.org Subject: ports/16616: Fix: A problem on search of installed file Message-ID: <20000210.024425.74715636.inagaki@tg.rim.or.jp>
next in thread | raw e-mail | index | archive | help
>Number: 16616 >Category: ports >Synopsis: Fix: A problem on search of installed file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 9 09:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Inagaki Kentaro & >Release: FreeBSD 4.0-CURRENT i386 >Organization: <Organization of PR author (multiple lines)> >Environment: >Description: The problem that pTeX is not found in with the file which this port installs. This is the cause of not updating cache file used for search. This patch is changed to update cache file. Submitted by: Issei Suzuki <issei@issei.org> Thanks!! >How-To-Repeat: >Fix: diff -urN makejvf.old/Makefile makejvf/Makefile --- makejvf.old/Makefile Fri Dec 24 20:15:05 1999 +++ makejvf/Makefile Sat Feb 5 04:33:25 2000 @@ -38,6 +38,8 @@ ${TAR} -C ${WRKDIR}/ -zxf ${DISTDIR}/${DIST_SUBDIR}/$$i${EXTRACT_SUFX} ; \ done +.include <bsd.port.pre.mk> + post-install: @${MKDIR} ${MAP_DIR} @for i in ${PTEX_TFM} ; do \ @@ -70,4 +72,8 @@ done .endif -.include <bsd.port.mk> +.if exists(${PREFIX}/bin/mktexlsr) + @${PREFIX}/bin/mktexlsr +.endif + +.include <bsd.port.post.mk> diff -urN makejvf.old/pkg/PLIST makejvf/pkg/PLIST --- makejvf.old/pkg/PLIST Fri Dec 24 20:15:06 1999 +++ makejvf/pkg/PLIST Sat Feb 5 04:35:34 2000 @@ -136,3 +136,5 @@ @dirrm share/texmf/fonts/tfm/makejvf @dirrm share/texmf/fonts/vf/makejvf @dirrm share/doc/makejvf-fkr +@exec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr +@unexec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr >Release-Note: >Audit-Trail: >Unformatted: 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?20000210.024425.74715636.inagaki>