detex stable port information

Package: detex
Version: 2.7
Revision: 3
Source: ftp://ftp.cs.purdue.edu/pub/trinkle/%n-%v.tar.orig
SourceRename: %n-%v.tar
Source-MD5: df837b1adb40503f40b94b8169f0e154
NoSourceDirectory: True
PatchScript: patch <%a/%n.patch
BuildDepends: flex
CompileScript: make DESTDIR=%p/bin
InstallScript: <<
mkdir -p %i/bin
make install DESTDIR=%i/bin
mkdir -p %i/share/man/man1
cp detex.1l %i/share/man/man1/detex.1
mkdir -p %i/share/doc/detex
cp README %i/share/doc/detex
<<
License: OSI-Approved
Description: Filter to strip TeX commands from a .tex file
DescPort: Patched Makefile to take care of malloc() problem.
DescPackaging: Patched Makefile to install delatex as well as detex.
Homepage: ftp://ftp.cs.purdue.edu/pub/trinkle/README
Maintainer: Dave Morrison

detex stable port .patch

diff -c detex-2.7/Makefile detex-2.7.patched/Makefile
*** detex-2.7/Makefile Wed May 12 17:45:55 1999
--- detex-2.7.patched/Makefile Tue Jul 10 13:50:40 2001
***************
*** 35,41 ****
# Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
# in detex.l (reported by pinard@iro.umontreal.ca)
#
! #DEFS += ${DEFS} -DNO_MALLOC_DECL
#
CFLAGS = -O ${DEFS}

--- 35,41 ----
# Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
# in detex.l (reported by pinard@iro.umontreal.ca)
#
! DEFS := ${DEFS} -DNO_MALLOC_DECL
#
CFLAGS = -O ${DEFS}

***************
*** 85,93 ****
# this target
install: detex
rm -f ${DESTDIR}/detex
! install -c -m 775 -o binary -g staff -s detex ${DESTDIR}
! # rm -f ${DESTDIR}/delatex
! # ln ${DESTDIR}/detex ${DESTDIR}/delatex

clean:
-rm -f a.out core *.s *.o ERRS errs .,* .emacs_[0-9]*
--- 85,93 ----
# this target
install: detex
rm -f ${DESTDIR}/detex
! install -c -m 775 -s detex ${DESTDIR}
! rm -f ${DESTDIR}/delatex
! ln ${DESTDIR}/detex ${DESTDIR}/delatex

clean:
-rm -f a.out core *.s *.o ERRS errs .,* .emacs_[0-9]*
Common subdirectories: detex-2.7/os2 and detex-2.7.patched/os2
diff -ruN detex-2.7/Makefile detex-2.7-patched/Makefile
--- detex-2.7/Makefile 1999-05-12 10:45:55.000000000 -0700
+++ detex-2.7-patched/Makefile 2007-07-18 13:22:26.000000000 -0700
@@ -41,7 +41,7 @@

# Use your favorite lexical scanner
#
-LEX = lex
+LEX = flex
#LEX = flex

#LFLAGS = -8 -C

detex _unstable_ port information

Package: detex
Version: 2.7
Revision: 3
Source: ftp://ftp.cs.purdue.edu/pub/trinkle/%n-%v.tar.orig
SourceRename: %n-%v.tar
Source-MD5: df837b1adb40503f40b94b8169f0e154
NoSourceDirectory: True
PatchScript: patch <%a/%n.patch
BuildDepends: flex
CompileScript: make DESTDIR=%p/bin
InstallScript: <<
mkdir -p %i/bin
make install DESTDIR=%i/bin
mkdir -p %i/share/man/man1
cp detex.1l %i/share/man/man1/detex.1
mkdir -p %i/share/doc/detex
cp README %i/share/doc/detex
<<
License: OSI-Approved
Description: Filter to strip TeX commands from a .tex file
DescPort: Patched Makefile to take care of malloc() problem.
DescPackaging: Patched Makefile to install delatex as well as detex.
Homepage: ftp://ftp.cs.purdue.edu/pub/trinkle/README
Maintainer: Dave Morrison

detex _unstable_ port .patch

diff -c detex-2.7/Makefile detex-2.7.patched/Makefile
*** detex-2.7/Makefile Wed May 12 17:45:55 1999
--- detex-2.7.patched/Makefile Tue Jul 10 13:50:40 2001
***************
*** 35,41 ****
# Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
# in detex.l (reported by pinard@iro.umontreal.ca)
#
! #DEFS += ${DEFS} -DNO_MALLOC_DECL
#
CFLAGS = -O ${DEFS}

--- 35,41 ----
# Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
# in detex.l (reported by pinard@iro.umontreal.ca)
#
! DEFS := ${DEFS} -DNO_MALLOC_DECL
#
CFLAGS = -O ${DEFS}

***************
*** 85,93 ****
# this target
install: detex
rm -f ${DESTDIR}/detex
! install -c -m 775 -o binary -g staff -s detex ${DESTDIR}
! # rm -f ${DESTDIR}/delatex
! # ln ${DESTDIR}/detex ${DESTDIR}/delatex

clean:
-rm -f a.out core *.s *.o ERRS errs .,* .emacs_[0-9]*
--- 85,93 ----
# this target
install: detex
rm -f ${DESTDIR}/detex
! install -c -m 775 -s detex ${DESTDIR}
! rm -f ${DESTDIR}/delatex
! ln ${DESTDIR}/detex ${DESTDIR}/delatex

clean:
-rm -f a.out core *.s *.o ERRS errs .,* .emacs_[0-9]*
Common subdirectories: detex-2.7/os2 and detex-2.7.patched/os2
diff -ruN detex-2.7/Makefile detex-2.7-patched/Makefile
--- detex-2.7/Makefile 1999-05-12 10:45:55.000000000 -0700
+++ detex-2.7-patched/Makefile 2007-07-18 13:22:26.000000000 -0700
@@ -41,7 +41,7 @@

# Use your favorite lexical scanner
#
-LEX = lex
+LEX = flex
#LEX = flex

#LFLAGS = -8 -C