Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 12:25:46 +0200
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25823: New port: devel/py-diveintopython
Message-ID:  <E14dUx0-0007Hf-00@fling.sanbi.ac.za>

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

>Number:         25823
>Category:       ports
>Synopsis:       New port: devel/py-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 Mar 15 02:30:00 PST 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, freely
  published onder the GNU FDL, which is aimed at the more experienced
  programmer coming from other language environments.
- This port installs the book in various formats under ${PREFIX}/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:
#
#	py-diveintopython
#	py-diveintopython/Makefile
#	py-diveintopython/distinfo
#	py-diveintopython/pkg-plist
#	py-diveintopython/pkg-comment
#	py-diveintopython/pkg-descr
#
echo c - py-diveintopython
mkdir -p py-diveintopython > /dev/null 2>&1
echo x - py-diveintopython/Makefile
sed 's/^X//' >py-diveintopython/Makefile << 'END-of-py-diveintopython/Makefile'
X# New ports collection makefile for:	py-diveintopython
X# Date created:		15 March 2001
X# Whom:	      		Johann Visagie <johann@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	diveintopython
XPORTVERSION=	2.6
XCATEGORIES=	lang python
XMASTER_SITES=	http://diveintopython.org/download/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}
XDISTFILES=	${DISTNAME}.tgz dip_html.tgz dip_pdf.tgz dip_text.tgz \
X		dip_xml.tgz
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	${DISTNAME}.tgz dip_html.tgz dip_pdf.tgz dip_text.tgz
X
XMAINTAINER=	johann@egenetics.com
X
XNO_BUILD=	YES
XDIPDIR=		${PREFIX}/share/doc/diveintopython
XDIPDLDIR=	${DIPDIR}/download
XCPIO=		cpio --quiet -pdum -R
X
Xpost-patch:
X	@ ${PERL} -pi.orig -e \
X	  's#<td><a[^>]*>(Windows|MacOS)</a></td>##g; \
X	   s#UNIX</a>#compressed</a>#g;s#for UNIX \(#(#g; \
X	   s#<tr>(.(?!<tr>))*Microsoft Word(.(?!</tr>))*.</tr>##' \
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 pdf text xml
X	@ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dip_${format}.tgz \
X	  ${DIPDLDIR}
X.endfor
X	@ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.tgz \
X	  ${DIPDLDIR}
X	@ cd ${WRKDIR} && ${TAR} czf ${DIPDLDIR}/examples.tgz py/*
X
X.include <bsd.port.mk>
END-of-py-diveintopython/Makefile
echo x - py-diveintopython/distinfo
sed 's/^X//' >py-diveintopython/distinfo << 'END-of-py-diveintopython/distinfo'
XMD5 (diveintopython/diveintopython.tgz) = fcf2fed65730950b84a6f907fe79658a
XMD5 (diveintopython/dip_html.tgz) = f1c6527994104a9fbdf635a8092e88b9
XMD5 (diveintopython/dip_pdf.tgz) = b6969ab4cb6e5ce169f4a261f8a25882
XMD5 (diveintopython/dip_text.tgz) = d031b960e189add22e4d4ef4bb6c2f12
XMD5 (diveintopython/dip_xml.tgz) = af34301f69a4dd1fa3200415a9639e7e
END-of-py-diveintopython/distinfo
echo x - py-diveintopython/pkg-plist
sed 's/^X//' >py-diveintopython/pkg-plist << 'END-of-py-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_fromimport.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/dialect_divein.html
Xshare/doc/diveintopython/dialect_sgmllib.html
Xshare/doc/diveintopython/diveintopython.css
Xshare/doc/diveintopython/download/dip_html.tgz
Xshare/doc/diveintopython/download/dip_pdf.tgz
Xshare/doc/diveintopython/download/dip_text.tgz
Xshare/doc/diveintopython/download/dip_xml.tgz
Xshare/doc/diveintopython/download/diveintopython.html
Xshare/doc/diveintopython/download/diveintopython.pdf
Xshare/doc/diveintopython/download/diveintopython.tgz
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_instantiation.html
Xshare/doc/diveintopython/fileinfo_modules.html
Xshare/doc/diveintopython/fileinfo_morespecial.html
Xshare/doc/diveintopython/fileinfo_multiassign.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/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.jpg
Xshare/doc/diveintopython/images/callouts/10.jpg
Xshare/doc/diveintopython/images/callouts/2.jpg
Xshare/doc/diveintopython/images/callouts/3.jpg
Xshare/doc/diveintopython/images/callouts/4.jpg
Xshare/doc/diveintopython/images/callouts/5.jpg
Xshare/doc/diveintopython/images/callouts/6.jpg
Xshare/doc/diveintopython/images/callouts/7.jpg
Xshare/doc/diveintopython/images/callouts/8.jpg
Xshare/doc/diveintopython/images/callouts/9.jpg
Xshare/doc/diveintopython/images/caution.jpg
Xshare/doc/diveintopython/images/important.jpg
Xshare/doc/diveintopython/images/note.jpg
Xshare/doc/diveintopython/images/tip.jpg
Xshare/doc/diveintopython/images/warning.jpg
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_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/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-py-diveintopython/pkg-plist
echo x - py-diveintopython/pkg-comment
sed 's/^X//' >py-diveintopython/pkg-comment << 'END-of-py-diveintopython/pkg-comment'
XA free Python tutorial book which is "not For Dummies(tm)"
END-of-py-diveintopython/pkg-comment
echo x - py-diveintopython/pkg-descr
sed 's/^X//' >py-diveintopython/pkg-descr << 'END-of-py-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.
X
XAuthor: Mark Pilgrim <f8dy@diveintopython.org>
XWWW:    http://diveintopython.org/
X
X-- Johann Visagie <johann@egenetics.com>
END-of-py-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14dUx0-0007Hf-00>