reference document for the icon programming language.

This commit is contained in:
espie 2003-12-22 01:09:30 +00:00
parent 6c479fcddd
commit 77ba7154ce
4 changed files with 99 additions and 0 deletions

42
lang/icon/book/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/12/22 01:09:30 espie Exp $
CATEGORIES= books lang
COMMENT= 'Icon programming language reference book'
MAINTAINER= Marc Espie <espie@openbsd.org>
MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/doc/
# This documents version 9.3 of the language.
V=9.3
DISTNAME= icon-book-$V
FLAVORS=two_sided
FLAVOR?=
.if ${FLAVOR:L} == "two_sided"
DISTFILES= lb2up.pdf
FULLPKGNAME= icon-book-two_sided-$V
.else
DISTFILES= lb1up.pdf
FULLPKGNAME= icon-book-$V
.endif
SUPDISTFILES= lb1up.pdf lb2up.pdf
# Book says:
# 'This book originally was published by Peer-to-Peer Communications.
# It is out of print and the rights have reverted to the authors, who hereby
# place it in the public domain'.
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
EXTRACT_ONLY=
NO_BUILD=Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icon
${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/share/doc/icon/icon-book${FLAVOR_EXT}.pdf
.include <bsd.port.mk>

6
lang/icon/book/distinfo Normal file
View File

@ -0,0 +1,6 @@
MD5 (lb1up.pdf) = 79ca5dcc5c1cc75526ecaf913168e044
MD5 (lb2up.pdf) = ff01d7313b1cb4f68ea03f1c081c2236
RMD160 (lb1up.pdf) = fb77a09a05c21b1f5af2aec0accdb173b429917c
RMD160 (lb2up.pdf) = c1d1be05236c18edd99763f0c02d0c9b8878472d
SHA1 (lb1up.pdf) = 621660e40c3b36d381c5caa5d83480198469fd49
SHA1 (lb2up.pdf) = 3de432842fe773eca516c5acb9c36726a83d070f

47
lang/icon/book/pkg/DESCR Normal file
View File

@ -0,0 +1,47 @@
This is the reference book for the Icon programming language.
It is a pdf document, so get a pdf viewer to use it.
Foreword
Introduction
Acknowledgments
Chapters
1 Getting Started
2 Expressions
3 String Scanning
4 Characters, Csets, and Strings
5 Numerical Computation and Bit Operations
6 Structures
7 Expression Evaluation
8 Procedures
9 Co-Expressions
10 Data Types
11 Input and Output
12 An Overview of Graphics
13 Other Features
14 Running an Icon Program
15 Libraries
16 Errors and Diagnostic Facilities
17 Programming with Generators
18 String Scanning and Pattern Matching
19 Using Structures
20 Mappings and Labeling
Appendixes
A Syntax
B Characters
C Preprocessing
D Language Reference Manual
E Command-Line Options
F Environment Variables
G Error Messages
H Platform-Specific Differences
I Sample Programs
J Icon Resources
Glossary
References
Index
Flavor:
two-sided: reduced version of the book (two pages per physical page)

4
lang/icon/book/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/12/22 01:09:30 espie Exp $
@option no-default-conflict
share/doc/icon/icon-book${FLAVOR_EXT}.pdf
@dirrm share/doc/icon