freebsd-ports/www/trac-wikitopdf/Makefile
Brooks Davis 23fcf54562 WikiToPdf combines the functionality of CombineWikiPlugin and
PageToPdfPlugin on only one plugin and allows one to setup a template
file used to generate the PDF file with a cover and a licence page, for
example.

At the end of each wiki page there is a link named WikiToPdf and
works like athomas PageToPdfPlugin plugin but takes into account the
parameters on trac.ini (see below) and passes them to htmldoc.

Alternatively, it's possible to select one or more wiki pages and
generate one single PDF file just like coderanger work with a cover and
a licence from a template file. This feature also takes into account the
parameters on trac.ini.

WWW: http://trac-hacks.org/wiki/TracWikiToPdfPlugin
2009-01-09 23:57:07 +00:00

35 lines
954 B
Makefile

# New ports collection makefile for: trac-wikitopdf
# Date created: January 9, 2009
# Whom: Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 2.2.2
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= brooks@freebsd.org
COMMENT= Plugin to generate PDF documents from the Wiki
RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc \
tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= 2.3+
NO_BUILD= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TracWikiToPdfPlugin
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
do-build:
@${DO_NADA}
.include <bsd.port.mk>