pccts stable port information

Package: pccts
Version: 1.33.mr33
Revision: 4
Maintainer: None
BuildDependsOnly: true
#
Source: http://www.polhode.com/%n133mr.zip
Source-MD5: fd70972b0a6aa2d3cf8b5c66d26d229d
SourceDirectory: %n
BuildDepends: fink (>= 0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: 54096d0e41d1827b1ce6dd68e691a966
PatchScript: sed 's:@FINK_IPREFIX@:%i:g' <%{PatchFile} | patch -p1
CompileScript: echo "No compile needed"
InstallScript: <<
make pccts manpages COPT="-DPCCTS_USE_STDARG"
mkdir -p %i/bin
rm bin/empty.txt
cp bin/* %i/bin
mkdir -p %i/include/pccts
cp h/* %i/include/pccts/
<<
DocFiles: README RIGHTS CHANGES_FROM_131.txt CHANGES_FROM_133_BEFORE_MR13.txt CHANGES_FROM_133.txt CHANGES_SUMMARY.txt history.ps history.txt KNOWN_PROBLEMS.txt
#
Description: Purdue Compiler-Construction Tool Set
DescPort: <<
-specify cc as the compiler
-share/man as the mandir
<<
DescPackaging: <<
Previous versions by Sylvain Cuaz.

-there's no configure script
-'make' builds and installs that's why it is placed in InstallScript and not in CompileScript
-manually put headers in the package
<<
DescDetail: <<
PCCTS, the Purdue Compiler Construction Tool Set, is a set of public-domain
software tools
designed to facilitate the construction of compilers and other translation
systems.
Although originally developed primarily for internal use within Purdue
University,
these tools are now everywhere. While working on his MS and PhD under Prof.
Hank Dietz, T. Parr
was the primary developer of PCCTS, and he has continued to maintain and
extend it;
see http://www.ANTLR.org/ for info on Ter's work on the latest Java versions.
<<
License: Public Domain
Homepage: http://www.polhode.com/pccts.html

pccts stable port .patch

diff -ruN pccts/makefile pccts-patched/makefile
--- pccts/makefile Wed Oct 3 21:35:34 2001
+++ pccts-patched/makefile Sat Jan 5 21:25:21 2002
@@ -8,14 +8,15 @@
PSss=
#
# this can be set to /user/local/bin etc...
+# tsstss that's not true, bin is hardcoded in the makefiles
BINDIR=bin
# This part added by Thomas Herter, M"unchen, Germany. See also manpages
# target.
-MANDIR=$(HOME)/man
+MANDIR=@FINK_IPREFIX@/share/man
MANEXT=1
MANFILES=dlg/dlg.1 antlr/antlr.1

-#CC=cc
+CC=cc
#CC=gcc
#COPT=-O2

@@ -64,9 +65,9 @@


manpages:
- # mkdir -p $(MANDIR)/man$(MANEXT)
- if [ ! -d $(MANDIR) ] ; then \
- mkdir $(MANDIR) ; fi
- if [ ! -d $(MANDIR)/man$(MANEXT) ] ; then \
- mkdir $(MANDIR)/man$(MANEXT); fi
+ mkdir -p $(MANDIR)/man$(MANEXT)
+ #if [ ! -d $(MANDIR) ] ; then \
+ # mkdir $(MANDIR) ; fi
+ #if [ ! -d $(MANDIR)/man$(MANEXT) ] ; then \
+ # mkdir $(MANDIR)/man$(MANEXT); fi
cp -p $(MANFILES) $(MANDIR)/man$(MANEXT)

pccts _unstable_ port .patch