From owner-freebsd-ports Thu Apr 19 2: 0:25 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4474E37B637 for ; Thu, 19 Apr 2001 02:00:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3J908o50785; Thu, 19 Apr 2001 02:00:08 -0700 (PDT) (envelope-from gnats) Received: from shuffle.egenetics.com (shuffle.egenetics.com [196.38.142.112]) by hub.freebsd.org (Postfix) with ESMTP id B232437B505 for ; Thu, 19 Apr 2001 01:55:55 -0700 (PDT) (envelope-from johann@shuffle.egenetics.com) Received: (from johann@localhost) by shuffle.egenetics.com (8.11.3/8.11.3) id f3J8tVX87815; Thu, 19 Apr 2001 10:55:31 +0200 (SAST) (envelope-from johann) Message-Id: <200104190855.f3J8tVX87815@shuffle.egenetics.com> Date: Thu, 19 Apr 2001 10:55:31 +0200 (SAST) From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26697: New port: lang/diveintopython Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26697 >Category: ports >Synopsis: New port: lang/diveintopython >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 19 02:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 5.0-CURRENT i386 >Organization: Electric Genetics >Environment: >Description: - "Dive Into Python" is a tutorial book on the Python language, aimed at experienced programmers and published under the GNU FDL. - Seccond attempt at submitting this port, the major difference being that the author has agreed to make versioned distfiles available, which should obviate wca's objection. :-) - This port installs the book in various formats under ${PREFIX}/share/doc >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: # # diveintopython # diveintopython/Makefile # diveintopython/distinfo # diveintopython/pkg-plist # diveintopython/pkg-comment # diveintopython/pkg-descr # echo c - diveintopython mkdir -p diveintopython > /dev/null 2>&1 echo x - diveintopython/Makefile sed 's/^X//' >diveintopython/Makefile << 'END-of-diveintopython/Makefile' X# New ports collection makefile for: py-diveintopython X# Date created: 15 March 2001 X# Whom: Johann Visagie X# X# $FreeBSD$ X# X XPORTNAME= diveintopython XPORTVERSION= 3.1.1 XCATEGORIES= lang python XMASTER_SITES= http://diveintopython.org/download/ XDISTNAME= ${PORTNAME} XDISTFILES= ${DISTNAME}-html-${VERSIONSTR}.tgz \ X ${DISTNAME}-html-flat-${VERSIONSTR}.tgz \ X ${DISTNAME}-pdf-${VERSIONSTR}.tgz \ X ${DISTNAME}-text-${VERSIONSTR}.tgz \ X ${DISTNAME}-xml-${VERSIONSTR}.tgz XDIST_SUBDIR= ${PORTNAME} XEXTRACT_ONLY= ${DISTNAME}-html-${VERSIONSTR}.tgz \ X ${DISTNAME}-html-flat-${VERSIONSTR}.tgz \ X ${DISTNAME}-pdf-${VERSIONSTR}.tgz \ X ${DISTNAME}-text-${VERSIONSTR}.tgz X XMAINTAINER= johann@egenetics.com X XNO_BUILD= YES XDIPDIR= ${PREFIX}/share/doc/diveintopython XDIPDLDIR= ${DIPDIR}/download XCPIO= cpio --quiet -pdum -R X# Is there a way of doing this without using a temporary variable? XVERSIONTMP= ${PORTVERSION:S|.|-|g} XVERSIONSTR= ${VERSIONTMP:S|-|.|} X Xpost-patch: X @ ${PERL} -pi.orig -e \ X 's#]*>(Windows|Mac ?OS)##g; \ X s#UNIX#compressed#g;s#for UNIX \(#(#g; \ X s#(.(?!))*(Microsoft Word|Windows Help)(.(?!))*.##g; \ X s#(.(?!))*cn/(.(?!))*.##g' \ X ${WRKSRC}/index.html X Xdo-install: X @ ${MKDIR} ${DIPDLDIR} X @ cd ${WRKSRC} && find *.html *.css images \ X | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DIPDIR} X.for format in html pdf txt X @ ${INSTALL_DATA} ${WRKSRC}/${format}/${PORTNAME}.${format} \ X ${DIPDLDIR} X.endfor X.for format in html html-flat pdf text xml X @ ${INSTALL_DATA} \ X ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.tgz \ X ${DIPDLDIR} X.endfor X @ cd ${WRKDIR} && ${TAR} czf ${DIPDLDIR}/examples.tgz py/* X X.include END-of-diveintopython/Makefile echo x - diveintopython/distinfo sed 's/^X//' >diveintopython/distinfo << 'END-of-diveintopython/distinfo' XMD5 (diveintopython/diveintopython-html-3.1-1.tgz) = 890cf0eb6bee40ccb684c6dd4f0f3fed XMD5 (diveintopython/diveintopython-html-flat-3.1-1.tgz) = 528f495e346141b8994cc5a44d128309 XMD5 (diveintopython/diveintopython-pdf-3.1-1.tgz) = 1dbe0ce9acf7c43783dffcc78cafce80 XMD5 (diveintopython/diveintopython-text-3.1-1.tgz) = fe67aefdc47b36dc6aedf15fff0c8d0a XMD5 (diveintopython/diveintopython-xml-3.1-1.tgz) = bb42e4facedcd79df6796a1a4bc3c86d END-of-diveintopython/distinfo echo x - diveintopython/pkg-plist sed 's/^X//' >diveintopython/pkg-plist << 'END-of-diveintopython/pkg-plist' Xshare/doc/diveintopython/about.html Xshare/doc/diveintopython/abstracts.html Xshare/doc/diveintopython/apihelper_alltogether.html Xshare/doc/diveintopython/apihelper_andor.html Xshare/doc/diveintopython/apihelper_builtin.html Xshare/doc/diveintopython/apihelper_divein.html Xshare/doc/diveintopython/apihelper_filter.html Xshare/doc/diveintopython/apihelper_getattr.html Xshare/doc/diveintopython/apihelper_lambda.html Xshare/doc/diveintopython/apihelper_optional.html Xshare/doc/diveintopython/apihelper_summary.html Xshare/doc/diveintopython/chef.html Xshare/doc/diveintopython/dialect_basehtml.html Xshare/doc/diveintopython/dialect_dialectizer.html Xshare/doc/diveintopython/dialect_dictsub.html Xshare/doc/diveintopython/dialect_divein.html Xshare/doc/diveintopython/dialect_extract.html Xshare/doc/diveintopython/dialect_locals.html Xshare/doc/diveintopython/dialect_quoting.html Xshare/doc/diveintopython/dialect_sgmllib.html Xshare/doc/diveintopython/diveintopython.css Xshare/doc/diveintopython/download/diveintopython-html-3.1-1.tgz Xshare/doc/diveintopython/download/diveintopython-html-flat-3.1-1.tgz Xshare/doc/diveintopython/download/diveintopython-pdf-3.1-1.tgz Xshare/doc/diveintopython/download/diveintopython-text-3.1-1.tgz Xshare/doc/diveintopython/download/diveintopython-xml-3.1-1.tgz Xshare/doc/diveintopython/download/diveintopython.html Xshare/doc/diveintopython/download/diveintopython.pdf Xshare/doc/diveintopython/download/diveintopython.txt Xshare/doc/diveintopython/download/examples.tgz Xshare/doc/diveintopython/examples.html Xshare/doc/diveintopython/fdl.html Xshare/doc/diveintopython/fdl_aggregation.html Xshare/doc/diveintopython/fdl_applicability.html Xshare/doc/diveintopython/fdl_collections.html Xshare/doc/diveintopython/fdl_combining.html Xshare/doc/diveintopython/fdl_copying.html Xshare/doc/diveintopython/fdl_copyinginquantity.html Xshare/doc/diveintopython/fdl_future.html Xshare/doc/diveintopython/fdl_howto.html Xshare/doc/diveintopython/fdl_modifications.html Xshare/doc/diveintopython/fdl_termination.html Xshare/doc/diveintopython/fdl_translation.html Xshare/doc/diveintopython/fileinfo_alltogether.html Xshare/doc/diveintopython/fileinfo_class.html Xshare/doc/diveintopython/fileinfo_classattributes.html Xshare/doc/diveintopython/fileinfo_divein.html Xshare/doc/diveintopython/fileinfo_exception.html Xshare/doc/diveintopython/fileinfo_files.html Xshare/doc/diveintopython/fileinfo_for.html Xshare/doc/diveintopython/fileinfo_fromimport.html Xshare/doc/diveintopython/fileinfo_instantiation.html Xshare/doc/diveintopython/fileinfo_modules.html Xshare/doc/diveintopython/fileinfo_morespecial.html Xshare/doc/diveintopython/fileinfo_os.html Xshare/doc/diveintopython/fileinfo_private.html Xshare/doc/diveintopython/fileinfo_specialmethods.html Xshare/doc/diveintopython/fileinfo_summary.html Xshare/doc/diveintopython/fileinfo_userdict.html Xshare/doc/diveintopython/fudd.html Xshare/doc/diveintopython/furtherreading.html Xshare/doc/diveintopython/gpl.html Xshare/doc/diveintopython/gpl_howto.html Xshare/doc/diveintopython/gpl_terms.html Xshare/doc/diveintopython/history.html Xshare/doc/diveintopython/images/callouts/1.png Xshare/doc/diveintopython/images/callouts/10.png Xshare/doc/diveintopython/images/callouts/2.png Xshare/doc/diveintopython/images/callouts/3.png Xshare/doc/diveintopython/images/callouts/4.png Xshare/doc/diveintopython/images/callouts/5.png Xshare/doc/diveintopython/images/callouts/6.png Xshare/doc/diveintopython/images/callouts/7.png Xshare/doc/diveintopython/images/callouts/8.png Xshare/doc/diveintopython/images/callouts/9.png Xshare/doc/diveintopython/images/caution.png Xshare/doc/diveintopython/images/important.png Xshare/doc/diveintopython/images/note.png Xshare/doc/diveintopython/images/tip.png Xshare/doc/diveintopython/images/warning.png Xshare/doc/diveintopython/index.html Xshare/doc/diveintopython/odbchelper_dict.html Xshare/doc/diveintopython/odbchelper_divein.html Xshare/doc/diveintopython/odbchelper_docstring.html Xshare/doc/diveintopython/odbchelper_funcdef.html Xshare/doc/diveintopython/odbchelper_indenting.html Xshare/doc/diveintopython/odbchelper_join.html Xshare/doc/diveintopython/odbchelper_list.html Xshare/doc/diveintopython/odbchelper_map.html Xshare/doc/diveintopython/odbchelper_multiassign.html Xshare/doc/diveintopython/odbchelper_objects.html Xshare/doc/diveintopython/odbchelper_stringformatting.html Xshare/doc/diveintopython/odbchelper_summary.html Xshare/doc/diveintopython/odbchelper_testing.html Xshare/doc/diveintopython/odbchelper_tuple.html Xshare/doc/diveintopython/odbchelper_vardef.html Xshare/doc/diveintopython/olde.html Xshare/doc/diveintopython/preface.html Xshare/doc/diveintopython/tips.html Xshare/doc/diveintopython/toc.html X@dirrm share/doc/diveintopython/images/callouts X@dirrm share/doc/diveintopython/images X@dirrm share/doc/diveintopython/download X@dirrm share/doc/diveintopython END-of-diveintopython/pkg-plist echo x - diveintopython/pkg-comment sed 's/^X//' >diveintopython/pkg-comment << 'END-of-diveintopython/pkg-comment' XA free Python tutorial book that is "not For Dummies(tm)" END-of-diveintopython/pkg-comment echo x - diveintopython/pkg-descr sed 's/^X//' >diveintopython/pkg-descr << 'END-of-diveintopython/pkg-descr' X"Dive Into Python" is a Python tutorial for experienced programmers. X XThe book is published under the GNU Free Documentation License, and is Xavailable in a variety of formats. It is currently being translated into a Xnumber of languages. X XAuthor: Mark Pilgrim XWWW: http://diveintopython.org/ X X-- Johann Visagie END-of-diveintopython/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message