ports/107270: New port: www/trac-pagetopdf
Gerrit Beine
gerrit.beine at gmx.de
Thu Dec 28 11:00:30 UTC 2006
>Number: 107270
>Category: ports
>Synopsis: New port: www/trac-pagetopdf
>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 Dec 28 11:00:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gerrit Beine
>Release: FreeBSD 6.1-RELEASE
>Organization:
Beine Computer
>Environment:
FreeBSD freebsd.vmware 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This plugin uses the new content conversion API in Trac's trunk to export Wiki
pages to a PDF. The link appers in the Download in other formats list at the
bottom of Wiki pages.
This plugin uses htmldoc to perform the conversion.
WWW: http://trac-hacks.org/wiki/PageToPdfPlugin
>How-To-Repeat:
>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:
#
# 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 <gerrit.beine at gmx.de>
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 at 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 <bsd.port.mk>
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list