Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 21:39:42 +0200 (CEST)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54335: new port: PPower4 - Post processor for PDF presentations made with (La)TeX
Message-ID:  <20030710193942.8F24A8811@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200307101940.h6AJeHV3045553@freefall.freebsd.org>

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

>Number:         54335
>Category:       ports
>Synopsis:       new port: PPower4 - Post processor for PDF presentations made with (La)TeX
>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 Jul 10 12:40:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jul 8 23:17:56 CEST 2003 root@kyuzo.dunkelkammer.void:/usr/src/sys/i386/compile/KYUZO i386
>Description:
	This is a port for PPower4, a post processor for PDF presentations
	made with LaTeX, used to add dynamic effects.
	It's written in Java and comes with some style files.
>How-To-Repeat:
	Install the port.
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	textproc/ppower4/
#	textproc/ppower4/files
#	textproc/ppower4/files/ppower4
#	textproc/ppower4/distinfo
#	textproc/ppower4/Makefile
#	textproc/ppower4/pkg-plist
#	textproc/ppower4/pkg-descr
#	textproc/ppower4/pkg-message
#
echo c - textproc/ppower4/
mkdir -p textproc/ppower4/ > /dev/null 2>&1
echo c - textproc/ppower4/files
mkdir -p textproc/ppower4/files > /dev/null 2>&1
echo x - textproc/ppower4/files/ppower4
sed 's/^X//' >textproc/ppower4/files/ppower4 << 'END-of-textproc/ppower4/files/ppower4'
X#!/bin/sh
XJAVAVM_CALL="%%JAVAVM%%"
XJARFILE="%%JARFILE%%"
X${JAVAVM_CALL} -jar ${JARFILE} "$@"
END-of-textproc/ppower4/files/ppower4
echo x - textproc/ppower4/distinfo
sed 's/^X//' >textproc/ppower4/distinfo << 'END-of-textproc/ppower4/distinfo'
XMD5 (ppower4/leveldemo.zip) = 4e38e76e4b8a1c09e1231178a54601e4
XMD5 (ppower4/manual.pdf) = 602490b84e0bbd4ee2cda14f2c6f17c0
XMD5 (ppower4/pp4p.jar) = 19e6256c2c89a029859a89c91684e098
XMD5 (ppower4/pp4sty.zip) = 593e5d058fe9e3c77548dc7c5b0a37f6
END-of-textproc/ppower4/distinfo
echo x - textproc/ppower4/Makefile
sed 's/^X//' >textproc/ppower4/Makefile << 'END-of-textproc/ppower4/Makefile'
X# New ports collection makefile for:	ppower4
X# Date created:		10 July 2003
X# Whom:			Stefan Walter <sw@gegenunendlich.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ppower4
XPORTVERSION=	0.9.4
XCATEGORIES=	textproc java
XMASTER_SITES=	http://www-sp.iti.informatik.tu-darmstadt.de/software/ppower4/
XDISTFILES=	pp4sty.zip pp4p.jar manual.pdf leveldemo.zip
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	pp4sty.zip leveldemo.zip
X
XMAINTAINER=	sw@gegenunendlich.de
XCOMMENT=	Post processor for PDF presentations made with (La)TeX
X
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX
X
XUSE_ZIP=	yes
XUSE_JAVA=	1.3+
XNO_BUILD=	yes
XNO_BUILD_DEPENDS_JAVA=	yes
XNO_WRKSUBDIR=	yes
X
XJAR_DIR=	${PREFIX}/share/java/jar/${PORTNAME}
XSTY_DIR=	${PREFIX}/share/texmf/tex/latex/${PORTNAME}
XSTY_FILES=	${WRKDIR}/pause.sty ${WRKDIR}/background.sty \
X		${WRKDIR}/pp4link.sty ${WRKDIR}/mpmulti.sty
XEXAMPLE_FILES=	${WRKDIR}/leveldemo.tex
X.for i in 1 2 3 4 5 6 7
XEXAMPLE_FILES+=	${WRKDIR}/example.${i}
X.endfor
X
Xpost-patch:
X# prepare wrapper script
X	@${SED} -e "s,%%JAVAVM%%,${LOCALBASE}/bin/javavm,; \
X		s,%%JARFILE%%,${JAR_DIR}/pp4p.jar," \
X		${FILESDIR}/ppower4 > ${WRKDIR}/ppower4
X
Xdo-install:
X# install docs?
X.if !defined(NOPORTDOCS)
X# install docs...
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf ${DOCSDIR}
X# ...and the examples, too!
X	@${MKDIR} ${EXAMPLESDIR}
X	@${INSTALL_DATA} ${EXAMPLE_FILES} ${EXAMPLESDIR}
X.endif
X# install data files
X	@${MKDIR} ${STY_DIR}
X	@${INSTALL_DATA} ${STY_FILES} ${STY_DIR}
X	@${MKDIR} ${JAR_DIR}
X	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pp4p.jar ${JAR_DIR}
X# install wrapper script
X	@${INSTALL_SCRIPT} ${WRKDIR}/ppower4 ${PREFIX}/bin/ppower4
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE} | ${SED} -e "s,%%PREFIX%%,${PREFIX},g"
X
X.include <bsd.port.mk>
END-of-textproc/ppower4/Makefile
echo x - textproc/ppower4/pkg-plist
sed 's/^X//' >textproc/ppower4/pkg-plist << 'END-of-textproc/ppower4/pkg-plist'
Xbin/ppower4
Xshare/doc/ppower4/manual.pdf
Xshare/examples/ppower4/leveldemo.tex
Xshare/examples/ppower4/example.1
Xshare/examples/ppower4/example.2
Xshare/examples/ppower4/example.3
Xshare/examples/ppower4/example.4
Xshare/examples/ppower4/example.5
Xshare/examples/ppower4/example.6
Xshare/examples/ppower4/example.7
Xshare/java/jar/ppower4/pp4p.jar
Xshare/texmf/tex/latex/ppower4/pause.sty
Xshare/texmf/tex/latex/ppower4/background.sty
Xshare/texmf/tex/latex/ppower4/pp4link.sty
Xshare/texmf/tex/latex/ppower4/mpmulti.sty
X@dirrm share/doc/ppower4
X@dirrm share/examples/ppower4
X@dirrm share/java/jar/ppower4
X@dirrm share/texmf/tex/latex/ppower4
END-of-textproc/ppower4/pkg-plist
echo x - textproc/ppower4/pkg-descr
sed 's/^X//' >textproc/ppower4/pkg-descr << 'END-of-textproc/ppower4/pkg-descr'
X"PPower4 is used to post process presentations in PDF format which were
Xprepared using (La)TeX  to add dynamic effects. The PDF files can be
Xcreated with pdf(la)tex, v(la)tex or with standard LaTeX and then
Xconverted to PDF with dvipdfm."
X
XWWW: http://www-sp.iti.informatik.tu-darmstadt.de/software/ppower4/
END-of-textproc/ppower4/pkg-descr
echo x - textproc/ppower4/pkg-message
sed 's/^X//' >textproc/ppower4/pkg-message << 'END-of-textproc/ppower4/pkg-message'
X*********************************************
XStyle files have been installed to
X%%PREFIX%%/share/texmf/tex/latex/ppower4.
XYou will probably need to update the content
Xcache (e.g. by running 'mktexlsr') before you
Xcan use these files.
X*********************************************
END-of-textproc/ppower4/pkg-message
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



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