Initial Version
0 parent commit 60c9b93c323597503af40181d1d1fdfa2b4060ee
@tundra tundra authored on 10 Mar 2008
Showing 3 changed files
View
10
Makefile 0 → 100644
# FreeBSD Ports Makefile For 'tbku'
# $Id: Makefile,v 1.100 2008/03/10 22:28:39 tundra Exp $
 
all: # Just need to create the compiled image
@python -OOOO -c"import py_compile;py_compile.compile('tbku.py')"
 
install:
${BSD_INSTALL_SCRIPT} tbku.py ${PREFIX}/bin
${BSD_INSTALL_MAN} tbku.1.gz ${PREFIX}/man/man1
View
115
makefile 0 → 100644
# Build a release of 'tbku' using 'make'
# $Id: makefile,v 1.100 2008/03/10 22:28:39 tundra Exp $
# Requires a modern 'make' like GNU.
 
 
# Uncomment One Of The Following For Early Releases
 
#EARLY = Alpha
#EARLY = Beta
#EARLY = RC1
 
#####
# Definitions Relevant To This Program
#####
 
PROGNAME = tbku
 
PORTNAME = ${PROGNAME}
 
PROGFILES = ${PROGNAME}.py
 
SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt setup.py
 
DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt \
${PROGNAME}.1.gz
 
 
#####
# Nothing Should Need To Change Below This Line
#####
 
 
DIR = ${PORTNAME}-${VERSION}
HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)"
HEADER2 = "----------------------------------------------------------------------"
TARBALL = ${DIR}.tar.gz
TMPFILE = tmpfile
VERSION = $(shell rlog -v ${PROGNAME}.py | cut -f 2 -d " ")${EARLY}
 
 
#####
# Pattern Rules
#####
 
%.dvi: %.latex
latex $<
 
%.html: %.1
@manserver $< >$@
 
%.html: %.txt
rst2html.py $< >$@
 
%.latex: %.txt
rst2latex.py $< >$@
 
%.pdf: %.dvi
@dvipdf $< $@
 
%.pdf: %.ps
@gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$@ $<
 
%.ps: %.1
@groff -man -Tps $< >$@
 
%.ps: %.dvi
dvips $< >$@
 
%.py.ps: %.py
@enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $<
%.txt: %.1
@groff -man -Tascii $< | col -xb >$@
 
%.1.gz: %.1
@gzip $<
 
 
#####
# Actual Build Rules
#####
 
clean:
@rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${SUPPFILES} ${TARBALL} ${TMPFILE} *.core *~
 
version:
@echo ${VERSION}
 
CHANGELOG.txt:
@rlog ${PROGNAME}.py >CHANGELOG.txt
 
WHATSNEW.txt:
@co -l $@
@printf "%s\n%s\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE}
@mv ${TMPFILE} $@
@emacs $@
@ci -m${HEADER1} $@
@co $@
 
docs: ${DOCFILES} ${SUPPFILES}
@chmod 644 ${DOCFILES} ${SUPPFILES}
@chmod 644 *.gz *.txt
@flip -u *txt
 
progs: ${PROGFILES}
chmod 755 ${PROGFILES}
 
release: docs progs
@mkdir ${DIR}
@mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR}
@tar -czvf ${TARBALL} ${DIR}
@rm -rf ${DIR}
@mv ${DIR}.tar.gz Releases
 
 
View
107
tbku-license.txt 0 → 100644
$Id: tbku-license.txt,v 1.100 2008/03/10 22:28:39 tundra Exp $
 
In order to use, study, modify, or copy 'tbku', you must read
and agree to all the licensing terms below. If you do not agree with
or do not understand *ANYTHING* you see in this document, you are NOT
granted a license to use, study, modify, or copy 'tbku'. By
using, studying, modifying, or copying 'tbku', you are agreeing
to all the terms of the 'tbku' LICENSE below in their entirety.
 
 
'tbku' LICENSE AGREEMENT
 
 
1) DEFINITIONS
 
Throughout this Agreement, the term 'tbku' is used to mean:
 
Anything included in the 'tbku' software distribution package
from TundraWare Inc. This includes scripts, programs, documentation,
license text and all other files provided in that original software
distribution package.
 
Throughout this Agreement the term "User" is used to mean any person
who is enagaged in any of the following activities:
 
a) Uses any files found in the 'tbku' software distribution
in any way.
 
b) Reads the 'tbku' documentation.
 
c) Reads or studies the 'tbku' program source code or
supporting files.
 
d) Makes use of any part of the 'tbku' software distribution
for any purpose.
 
e) Duplicates and/or distributes the 'tbku' software distribution.
 
 
2) OWNERSHIP
 
'tbku' Is Copyright (c) 2008 TundraWare Inc. All Rights Reserved.
 
 
3) TERMS
 
Permission is hereby granted to the User for the duplication and use
of 'tbku' so long as ALL the following conditions are met:
 
a) There is no license fee for PERSONAL NON-COMMERCIAL use of
'tbku'. This means use by an individual for personal
applications only, with no remuneration of any kind, direct or
indirect, from the use of 'tbku'. Voluntary donations
from such users are accepted and encouraged. A donation of
$0$ US per user is recommended. Information on how to
contribute can be obtained by contacting
tbku@tundraware.com.
 
Use of 'tbku' in ANY OTHER SITUATION, including
for-profit organizations, non-profit organizations,
educational institutions, and government organizations,
requires payment of a licensing fee. Contact
tbku@tundraware.com for current pricing information.
 
 
b) The User of 'tbku' understands and agrees that this is
EXPERIMENTAL SOFTWARE which is provided "AS-IS" with no
warranties expressed or implied by TundraWare Inc.
 
c) The User acknowledges 'tbku' has NOT been tested for:
 
i) Correct operation
 
ii) Freedom from unintended consequences
 
iii) Any operation or condition which might cause damage,
compromise, or disruption to the User's or other:
hardware, software, networks, or data, or which might
cause any breach of system security of such systems,
software, and networks.
 
d) By using 'tbku' in any way, the User does so at their
own risk and agrees to hold TundraWare Inc. harmless for any
damage, direct or indirect, that this software may or does
cause to the User's computational environment, including, but
not limited to, the User's or others' hardware, software,
network, or data. THE USER FURTHER AGREES TO HOLD TUNDRAWARE
INC. HARMLESS FOR ANY ECONOMIC DAMAGE OR ANY OTHER ADVERSE
CONSEQUENCE, DIRECT OR INDIRECT, CAUSED BY THE USE OF
'tbku'.
 
e) If duplicated and/or distributed, no fee beyond reasonable
duplication charges may be charged for 'tbku'. No
commercial use of 'tbku' which involves any
remuneration beyond these duplication charges is permitted.
 
f) Any distributed copies of 'tbku' must include all the
originally provided software, documentation, and licensing
information in their original distribution format and
packaging without any modifications.
 
By using any part or all of 'tbku', you are agreeing to be
bound by this license.
 
IF YOU DO NOT UNDERSTAND, OR CANNOT ABIDE BY ANY OF THESE CONDITIONS,
DO NOT USE 'tbku'.