# 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: # # trac-pagetopdf # trac-pagetopdf/Makefile # trac-pagetopdf/distinfo # trac-pagetopdf/pkg-descr # trac-pagetopdf/pkg-plist # echo c - trac-pagetopdf mkdir -p trac-pagetopdf > /dev/null 2>&1 echo x - trac-pagetopdf/Makefile sed 's/^X//' >trac-pagetopdf/Makefile << 'END-of-trac-pagetopdf/Makefile' X# New ports collection makefile for: trac-pagetopdf X# Date created: December 28 2006 X# Whom: Gerrit Beine X# X# $FreeBSD$ X# X XPORTNAME= pagetopdfplugin XPORTVERSION= 0.2 XCATEGORIES= www devel python XMASTER_SITES= http://www.gerritbeine.de/downloads/trac-hacks/ XPKGNAMEPREFIX= trac- XDISTNAME= ${PORTNAME} X XMAINTAINER= gerrit.beine@gmx.de XCOMMENT= Export trac wiki pages as PDFs X XRUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \ X htmldoc:${PORTSDIR}/textproc/htmldoc XBUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools X XUSE_ZIP= yes XUSE_PYTHON= 2.3+ XUSE_PYDISTUTILS=yes XWRKSRC= ${WRKDIR}/${PORTNAME}/0.10 XPLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} X Xdo-build: X @${DO_NADA} X X.include END-of-trac-pagetopdf/Makefile echo x - trac-pagetopdf/distinfo sed 's/^X//' >trac-pagetopdf/distinfo << 'END-of-trac-pagetopdf/distinfo' XMD5 (pagetopdfplugin.zip) = e94e47154d59d5ca015b9e2f0903e15e XSHA256 (pagetopdfplugin.zip) = be837c9ea9550634a6296f5e57d7201a91816a120984db7e484956ffe650c9bf XSIZE (pagetopdfplugin.zip) = 1545 END-of-trac-pagetopdf/distinfo echo x - trac-pagetopdf/pkg-descr sed 's/^X//' >trac-pagetopdf/pkg-descr << 'END-of-trac-pagetopdf/pkg-descr' XThis plugin uses the new content conversion API in Trac's trunk to export Wiki Xpages to a PDF. The link appers in the Download in other formats list at the Xbottom of Wiki pages. X XThis plugin uses htmldoc to perform the conversion. X XWWW: http://trac-hacks.org/wiki/PageToPdfPlugin END-of-trac-pagetopdf/pkg-descr echo x - trac-pagetopdf/pkg-plist sed 's/^X//' >trac-pagetopdf/pkg-plist << 'END-of-trac-pagetopdf/pkg-plist' X%%PYTHON_SITELIBDIR%%/TracPageToPDF-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg END-of-trac-pagetopdf/pkg-plist exit