ports/64527: Tidy up port: print/passivetex

Hiroki Sato hrs at FreeBSD.org
Sun Mar 21 04:30:10 UTC 2004


>Number:         64527
>Category:       ports
>Synopsis:       Tidy up port: print/passivetex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 20 20:30:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 19 04:20:12 JST 2004     hrs at alph.allbsd.org:/usr/obj/usr/src/sys/ALPH  i386

>Description:
	1) Fix WWW: in pkg-descr.
	2) Use print/tex-texmflocal.
	3) Some style changes.

	And PORTREVISON is bumped because the install directory is changed.

>How-To-Repeat:
	N/A

>Fix:

Index: passivetex/Makefile
===================================================================
RCS file: /home/ncvs/ports/print/passivetex/Makefile,v
retrieving revision 1.7
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.7 Makefile
--- passivetex/Makefile	3 Feb 2004 17:11:16 -0000	1.7
+++ passivetex/Makefile	21 Mar 2004 04:09:13 -0000
@@ -5,62 +5,58 @@
 # $FreeBSD: ports/print/passivetex/Makefile,v 1.7 2004/02/03 17:11:16 nik Exp $
 #
 
-PORTNAME=		passivetex
-PORTVERSION=		1.24
-CATEGORIES=		print
-MASTER_SITES=		http://www.tei-c.org.uk/Software/passivetex/
-DISTNAME=		${PORTNAME}
-DIST_SUBDIR=		${PORTNAME}
+PORTNAME=	passivetex
+PORTVERSION=	1.24
+PORTREVISION=	1
+CATEGORIES=	print
+MASTER_SITES=	http://www.tei-c.org.uk/Software/passivetex/
+DISTNAME=	${PORTNAME}
+DIST_SUBDIR=	${PORTNAME}
 
-MAINTAINER=		hrs at FreeBSD.org
-COMMENT=		XSL FO processor, written in TeX
+MAINTAINER=	hrs at FreeBSD.org
+COMMENT=	XSL FO processor, written in TeX
 
-BUILD_DEPENDS=		kpsewhich:${PORTSDIR}/print/teTeX \
-			${LOCALBASE}/share/texmf/web2c/xmltex.fmt:${PORTSDIR}/print/xmltex
+BUILD_DEPENDS=	${LOCALBASE}/share/texmf/web2c/xmltex.fmt:${PORTSDIR}/print/xmltex \
+		${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS=	${BUILD_DEPENDS}
 
-NO_BUILD=		yes
-USE_ZIP=		yes
-WRKSRC=			${WRKDIR}/passivetex
-MAKE_ENV=		TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
+NO_BUILD=	yes
+USE_ZIP=	yes
+WRKSRC=		${WRKDIR}/passivetex
+MAKE_ENV=	TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
 
-MESSAGE=		${PKGDIR}/pkg-message
-PKGMESSAGE=		${WRKDIR}/pkg-message
+MESSAGE=	${PKGDIR}/pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
 
 .include <bsd.port.pre.mk>
 
 PLIST_SUB=	MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
 
+TEXMFLOCAL=	share/texmf-local
+TEXMFLOCAL_LSR=	${LOCALBASE}/${TEXMFLOCAL}/ls-R
 MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
-.if exists(${LOCALBASE}/bin/kpsewhich)
-TEXMFDIR!=	${LOCALBASE}/bin/kpsewhich -expand-var '$$TEXMFMAIN'
-.else
-TEXMFDIR=	# empty
-.endif
-CLASSDIR=	${TEXMFDIR:S,^${PREFIX},,:S,^/,,}/tex/passivetex
 
-CLASS_FILES=	dummyels.sty fotex.xmt fotex.sty
-CLASS_FILES+=	mlnames.sty ucharacters.sty unicode.sty
-CLASS_FILES+=	dummyels.sty nomulticol.sty
+CLASSDIR=	${TEXMFLOCAL}/tex/passivetex
+CLASS_FILES=	dummyels.sty fotex.xmt fotex.sty \
+		mlnames.sty ucharacters.sty unicode.sty \
+		dummyels.sty nomulticol.sty
 
 DOC_FILES=	LICENSE README.passivetex index.html index.xml
 
-TEST_FILES=	Makefile
-TEST_FILES+=	chap01.xml chap02.xml chap03.xml chap04.xml
-TEST_FILES+=	check.xsl
-TEST_FILES+=	darkness.fo darkness.pdf darkness.xml darkness.xsl
-TEST_FILES+=	exercise-print.xsl exercise.fo exercise.pdf exercise.xml
-TEST_FILES+=	fezziPic.png fotex.cfg.eg hyperref.cfg
-TEST_FILES+=	mathex.xml mathex.xsl mathml.xsl
-TEST_FILES+=	mathtei.dtd novel.dtd
-TEST_FILES+=	phys332-1.jpg phys332-2.jpg
-TEST_FILES+=	rmsd.xml
-TEST_FILES+=	tei-oucs.dtd tei.sty teimath-print.xsl teimath.aux teimath.fo
-TEST_FILES+=	teimath.log teimath.out teimath.pdf teimath.xml teimath.xsl
-TEST_FILES+=	teimath2.xml teiu5-print.xsl teiu5.fo teiu5.pdf teiu5.xml
-TEST_FILES+=	teixlite.dtd teixml.cfg test1.fot test2.fot
+TESTDIR=	${DOCSDIR}/test
+TEST_FILES=	Makefile chap01.xml chap02.xml chap03.xml chap04.xml \
+		check.xsl darkness.fo darkness.pdf darkness.xml darkness.xsl \
+		exercise-print.xsl exercise.fo exercise.pdf exercise.xml \
+		fezziPic.png fotex.cfg.eg hyperref.cfg \
+		mathex.xml mathex.xsl mathml.xsl mathtei.dtd novel.dtd \
+		phys332-1.jpg phys332-2.jpg rmsd.xml \
+		tei-oucs.dtd tei.sty teimath-print.xsl teimath.aux teimath.fo \
+		teimath.log teimath.out teimath.pdf teimath.xml teimath.xsl \
+		teimath2.xml teiu5-print.xsl teiu5.fo teiu5.pdf teiu5.xml \
+		teixlite.dtd teixml.cfg test1.fot test2.fot
 
 post-patch:
-	@${SED} -e 's,%%TEXMFDIR%%,${TEXMFDIR},' \
+	@${SED} -e 's,%%TEXMFDIR%%,${LOCALBASE}/share/texmf,' \
 		${MESSAGE} > ${PKGMESSAGE}
 
 do-install:
@@ -69,16 +65,12 @@
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
-	${MKDIR} ${DOCSDIR}/test
-	${INSTALL_DATA} ${TEST_FILES:S@^@${WRKSRC}/test/@} ${DOCSDIR}/test
+	${MKDIR} ${TESTDIR}
+	${INSTALL_DATA} ${TEST_FILES:S@^@${WRKSRC}/test/@} ${TESTDIR}
 .endif
 
-post-install: rebuild-tex-database display-message
-
-rebuild-tex-database:
+post-install:
 	${MKTEXLSR}
-
-display-message:
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: passivetex/pkg-descr
===================================================================
RCS file: /home/ncvs/ports/print/passivetex/pkg-descr,v
retrieving revision 1.1
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.1 pkg-descr
--- passivetex/pkg-descr	4 Jun 2002 11:28:57 -0000	1.1
+++ passivetex/pkg-descr	21 Mar 2004 04:14:33 -0000
@@ -7,4 +7,4 @@
 
     pdftex --interaction nonstopmode "&pdfxmltex" file.fo
 
-WWW: http://www.hcu.ox.ac.uk/TEI/Software/passivetex/
+WWW: http://www.tei-c.org.uk/Software/passivetex/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list