Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 18:55:47 +0400 (MSD)
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126038: New port: www/drupal6-print
Message-ID:  <20080728145547.588B41AF41E@void.codelabs.ru>
Resent-Message-ID: <200807281500.m6SF06rS004098@freefall.freebsd.org>

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

>Number:         126038
>Category:       ports
>Synopsis:       New port: www/drupal6-print
>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:   Mon Jul 28 15:00:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Eygene Ryabinkin
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
Code Labs
>Environment:

System: FreeBSD XXX 7.0-STABLE FreeBSD 7.0-STABLE #17: Thu Jul 3 16:37:17 MSD 2008 root@XXX:/usr/obj/usr/src/sys/XXX i386

>Description:

drupal6-print is the module for Drupal 6.x that provides the print
view for the pages and optional ability to convert pages to PDF.

>How-To-Repeat:

ls -l /usr/ports/www/drupal6-print

>Fix:

The following port adds the new port.  It was tested for about a week
on my Drupal installation.  Currently it does not support PDF generation,
only 'Print view' functionality.

--- drupal6-print.new-port.shar begins here ---
# 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:
#
#	drupal6-print
#	drupal6-print/Makefile
#	drupal6-print/distinfo
#	drupal6-print/pkg-descr
#
echo c - drupal6-print
mkdir -p drupal6-print > /dev/null 2>&1
echo x - drupal6-print/Makefile
sed 's/^X//' >drupal6-print/Makefile << 'END-of-drupal6-print/Makefile'
X# New ports collection makefile for:	drupal6-print
X#
X
XPORTNAME=	print
XDISTVERSION=	6.x-1.0-rc5
XCATEGORIES=	www
XMASTER_SITES=	http://ftp.drupal.org/files/projects/
X
XCOMMENT=	Drupal 6 module that add printer-friendly pages
X
XDRUPAL6_MODULE=	yes
XMODULE_DIRS=	icons translations
XMODULE_FILES=	icons/mail_icon.gif icons/pdf_icon.gif icons/print_icon.gif \
X		print-rtl.css print.admin.inc print.css print.info \
X		print.install print.module print.pages.inc print.pdf.inc \
X		print.tpl.php print_mail.admin.inc print_mail.inc \
X		print_mail.info print_mail.install print_mail.module \
X		print_pdf.admin.inc print_pdf.info print_pdf.install \
X		print_pdf.module \
X		translations/print.pot translations/ca.po \
X		translations/cs.po translations/da.po translations/de.po \
X		translations/es.po translations/fi.po translations/fr.po \
X		translations/hu.po translations/id.po translations/it.po \
X		translations/ja.po translations/nb.po translations/nl.po \
X		translations/pl.po translations/pt-br.po \
X		translations/pt-pt.po translations/ro.po \
X		translations/ru.po translations/sk.po translations/sv.po \
X		translations/tr.po translations/uk.po
XDOC_FILES=	CHANGELOG.txt CREDITS.txt INSTALL.txt \
X		LICENSE.txt MAINTAINERS.txt README.txt
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
X.include <bsd.port.post.mk>
END-of-drupal6-print/Makefile
echo x - drupal6-print/distinfo
sed 's/^X//' >drupal6-print/distinfo << 'END-of-drupal6-print/distinfo'
XMD5 (drupal/print-6.x-1.0-rc5.tar.gz) = cbf6e9cfbed672cc58fca3d9821714d1
XSHA256 (drupal/print-6.x-1.0-rc5.tar.gz) = e2ed21a3ed96f4f41114fcab94a334cd261c1dfbe07c24faf0df15bd64fbb3b1
XSIZE (drupal/print-6.x-1.0-rc5.tar.gz) = 71435
END-of-drupal6-print/distinfo
echo x - drupal6-print/pkg-descr
sed 's/^X//' >drupal6-print/pkg-descr << 'END-of-drupal6-print/pkg-descr'
XThis module allows you to generate printer friendly versions of any
Xnode by navigating to www.example.com/print/nid, where nid is the
Xnode id of content to render.
X
XWWW: http://drupal.org/project/print
END-of-drupal6-print/pkg-descr
exit
--- drupal6-print.new-port.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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