summaryrefslogtreecommitdiff
path: root/lang/diveintopython
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2002-01-08 10:40:03 +0000
committerJohann Visagie <wjv@FreeBSD.org>2002-01-08 10:40:03 +0000
commit2cc796105536ec8c18cb5250a3daa2c4988a7652 (patch)
tree94b4ccd8aed63f453c432ba2ca77bbcab3fc18e2 /lang/diveintopython
parentPilot-link now lives in ${LOCALBASE}, not in ${LOCALBASE}/pilot. (diff)
- Install examples to EXAMPLESDIR
- Fix file modes after installation - Bump PORTREVISION PR: 33461 Submitted by: Alan Eldridge <ports@geeksrus.net>
Notes
Notes: svn path=/head/; revision=52756
Diffstat (limited to 'lang/diveintopython')
-rw-r--r--lang/diveintopython/Makefile7
-rw-r--r--lang/diveintopython/pkg-plist70
2 files changed, 77 insertions, 0 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile
index 4cba33ba3ed5..992b0b5d6965 100644
--- a/lang/diveintopython/Makefile
+++ b/lang/diveintopython/Makefile
@@ -7,6 +7,7 @@
PORTNAME= diveintopython
PORTVERSION= 3.9.1
+PORTREVISION= 1
CATEGORIES= lang python
MASTER_SITES= http://diveintopython.org/download/
DISTNAME= ${PORTNAME}
@@ -42,10 +43,16 @@ do-install:
@ ${MKDIR} ${DIPDLDIR}
@ cd ${WRKSRC} && find *.html *.css images \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ @ cd ${WRKDIR}/py && find * \
+ | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.for format in html html-flat pdf text examples
@ ${INSTALL_DATA} \
${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.zip \
${DIPDLDIR}
.endfor
+post-install:
+ @ ${CHMOD} -R ${SHAREMODE} ${DOCSDIR} ${EXAMPLESDIR}
+ @ ${CHMOD} -R ugo+X ${DOCSDIR} ${EXAMPLESDIR}
+
.include <bsd.port.mk>
diff --git a/lang/diveintopython/pkg-plist b/lang/diveintopython/pkg-plist
index 61716548bd40..b3d793bbeae8 100644
--- a/lang/diveintopython/pkg-plist
+++ b/lang/diveintopython/pkg-plist
@@ -127,6 +127,76 @@ share/doc/diveintopython/roman_success.html
share/doc/diveintopython/roman_summary.html
share/doc/diveintopython/tips.html
share/doc/diveintopython/toc.html
+share/examples/diveintopython/BaseHTMLProcessor.py
+share/examples/diveintopython/LICENSE.txt
+share/examples/diveintopython/apihelper.py
+share/examples/diveintopython/apihelpertest.py
+share/examples/diveintopython/autosize.py
+share/examples/diveintopython/builddialectexamples.py
+share/examples/diveintopython/colorize.py
+share/examples/diveintopython/dialect.py
+share/examples/diveintopython/fileinfo.py
+share/examples/diveintopython/fullpath.py
+share/examples/diveintopython/kgp/binary.xml
+share/examples/diveintopython/kgp/husserl.xml
+share/examples/diveintopython/kgp/kant.xml
+share/examples/diveintopython/kgp/kgp.dtd
+share/examples/diveintopython/kgp/kgp.py
+share/examples/diveintopython/kgp/russiansample.xml
+share/examples/diveintopython/kgp/stderr.py
+share/examples/diveintopython/kgp/stdout.py
+share/examples/diveintopython/kgp/template.xml
+share/examples/diveintopython/kgp/test.xml
+share/examples/diveintopython/kgp/thanks.xml
+share/examples/diveintopython/kgp/toolbox.py
+share/examples/diveintopython/kgptest.py
+share/examples/diveintopython/makerealworddoc.py
+share/examples/diveintopython/odbchelper.py
+share/examples/diveintopython/odbchelpertest.py
+share/examples/diveintopython/pyfontify.py
+share/examples/diveintopython/regression.py
+share/examples/diveintopython/roman.py
+share/examples/diveintopython/roman/stage1/roman1.py
+share/examples/diveintopython/roman/stage1/romantest1.py
+share/examples/diveintopython/roman/stage2/roman2.py
+share/examples/diveintopython/roman/stage2/romantest2.py
+share/examples/diveintopython/roman/stage3/roman3.py
+share/examples/diveintopython/roman/stage3/romantest3.py
+share/examples/diveintopython/roman/stage4/roman4.py
+share/examples/diveintopython/roman/stage4/romantest4.py
+share/examples/diveintopython/roman/stage5/roman5.py
+share/examples/diveintopython/roman/stage5/romantest5.py
+share/examples/diveintopython/roman/stage6/roman61.py
+share/examples/diveintopython/roman/stage6/roman62.py
+share/examples/diveintopython/roman/stage6/romantest61.py
+share/examples/diveintopython/roman/stage6/romantest62.py
+share/examples/diveintopython/roman/stage7/roman71.py
+share/examples/diveintopython/roman/stage7/roman72.py
+share/examples/diveintopython/roman/stage7/romantest71.py
+share/examples/diveintopython/roman/stage7/romantest72.py
+share/examples/diveintopython/roman/stage8/roman81.py
+share/examples/diveintopython/roman/stage8/roman82.py
+share/examples/diveintopython/roman/stage8/roman83.py
+share/examples/diveintopython/roman/stage8/romantest81.py
+share/examples/diveintopython/roman/stage8/romantest82.py
+share/examples/diveintopython/roman/stage8/romantest83.py
+share/examples/diveintopython/roman/stage9/roman9.py
+share/examples/diveintopython/roman/stage9/romantest9.py
+share/examples/diveintopython/romantest.py
+share/examples/diveintopython/unicode2koi8r.py
+share/examples/diveintopython/urllister.py
+@dirrm share/examples/diveintopython/roman/stage9
+@dirrm share/examples/diveintopython/roman/stage8
+@dirrm share/examples/diveintopython/roman/stage7
+@dirrm share/examples/diveintopython/roman/stage6
+@dirrm share/examples/diveintopython/roman/stage5
+@dirrm share/examples/diveintopython/roman/stage4
+@dirrm share/examples/diveintopython/roman/stage3
+@dirrm share/examples/diveintopython/roman/stage2
+@dirrm share/examples/diveintopython/roman/stage1
+@dirrm share/examples/diveintopython/roman
+@dirrm share/examples/diveintopython/kgp
+@dirrm share/examples/diveintopython
@dirrm share/doc/diveintopython/images/callouts
@dirrm share/doc/diveintopython/images
@dirrm share/doc/diveintopython/download