From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 6 08:29:10 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80A7F16A4CE; Thu, 6 Nov 2003 08:29:10 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258D343FDD; Thu, 6 Nov 2003 08:29:09 -0800 (PST) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AHn0O-0007f8-00; Thu, 06 Nov 2003 17:29:08 +0100 Received: from [80.142.205.200] (helo=kyuzo.dunkelkammer.void) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AHn0M-0007mj-00; Thu, 06 Nov 2003 17:29:06 +0100 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 1227C87CF; Thu, 6 Nov 2003 17:29:06 +0100 (CET) Date: Thu, 6 Nov 2003 17:29:05 +0100 From: Stefan Walter To: freebsd-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Message-ID: <20031106162905.GB13341@kyuzo.dunkelkammer.void> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.4i Subject: Re: ports/54335: new port: PPower4 - Post processor for PDF presentations made with (La)TeX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 16:29:10 -0000 Greg Lewis suggested a few changes, so I made a new one. Changes: - use %%VARIABLES%% in pkg-plist - run mktexlsr in post-install instead of telling the user to do so; it still has to be done manually when installing via pkg_add, thus the pkg-message - install the JAR file in $JAVAJARDIR --- beginning of ppower4.shar --- # 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: # # ppower4/ # ppower4/files # ppower4/files/ppower4 # ppower4/distinfo # ppower4/Makefile # ppower4/pkg-plist # ppower4/pkg-descr # ppower4/pkg-message # echo c - ppower4/ mkdir -p ppower4/ > /dev/null 2>&1 echo c - ppower4/files mkdir -p ppower4/files > /dev/null 2>&1 echo x - ppower4/files/ppower4 sed 's/^X//' >ppower4/files/ppower4 << 'END-of-ppower4/files/ppower4' X#!/bin/sh XJAVAVM_CALL="%%JAVAVM%%" XJARFILE="%%JARFILE%%" X${JAVAVM_CALL} -jar ${JARFILE} "$@" END-of-ppower4/files/ppower4 echo x - ppower4/distinfo sed 's/^X//' >ppower4/distinfo << 'END-of-ppower4/distinfo' XMD5 (ppower4/leveldemo.zip) = 4e38e76e4b8a1c09e1231178a54601e4 XMD5 (ppower4/manual.pdf) = 602490b84e0bbd4ee2cda14f2c6f17c0 XMD5 (ppower4/pp4p.jar) = 19e6256c2c89a029859a89c91684e098 XMD5 (ppower4/pp4sty.zip) = 593e5d058fe9e3c77548dc7c5b0a37f6 END-of-ppower4/distinfo echo x - ppower4/Makefile sed 's/^X//' >ppower4/Makefile << 'END-of-ppower4/Makefile' X# New ports collection makefile for: ppower4 X# Date created: 10 July 2003 X# Whom: Stefan Walter 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= ${JAVAJARDIR}/${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 XPLIST_SUB= STY_DIR="${STY_DIR:S,^${PREFIX}/,,}" \ X JAR_DIR="${JAR_DIR:S,^${PREFIX}/,,}" 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 @${LOCALBASE}/bin/mktexlsr X X.include END-of-ppower4/Makefile echo x - ppower4/pkg-plist sed 's/^X//' >ppower4/pkg-plist << 'END-of-ppower4/pkg-plist' Xbin/ppower4 X%%PORTDOCS%%%%DOCSDIR%%/manual.pdf X%%PORTDOCS%%%%EXAMPLESDIR%%/leveldemo.tex X%%PORTDOCS%%%%EXAMPLESDIR%%/example.1 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.2 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.3 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.4 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.5 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.6 X%%PORTDOCS%%%%EXAMPLESDIR%%/example.7 X%%JAR_DIR%%/pp4p.jar X%%STY_DIR%%/pause.sty X%%STY_DIR%%/background.sty X%%STY_DIR%%/pp4link.sty X%%STY_DIR%%/mpmulti.sty X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% X@dirrm %%JAR_DIR%% X@dirrm %%STY_DIR%% END-of-ppower4/pkg-plist echo x - ppower4/pkg-descr sed 's/^X//' >ppower4/pkg-descr << 'END-of-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-ppower4/pkg-descr echo x - ppower4/pkg-message sed 's/^X//' >ppower4/pkg-message << 'END-of-ppower4/pkg-message' X********************************************* XYou will probably need to update the content Xcache (e.g. by running 'mktexlsr') before you Xcan use the style files of this package. X********************************************* END-of-ppower4/pkg-message exit --- end of ppower4.shar ---