[35088] trunk/dports/tex

ryandesign at macports.org ryandesign at macports.org
Mon Mar 17 02:44:20 PDT 2008


Revision: 35088
          http://trac.macosforge.org/projects/macports/changeset/35088
Author:   ryandesign at macports.org
Date:     2008-03-17 02:44:19 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
detex: new port (version 2.8) as requested on macports-users by David Epstein

Added Paths:
-----------
    trunk/dports/tex/detex/
    trunk/dports/tex/detex/Portfile
    trunk/dports/tex/detex/files/
    trunk/dports/tex/detex/files/patch-Makefile.diff

Added: trunk/dports/tex/detex/Portfile
===================================================================
--- trunk/dports/tex/detex/Portfile	                        (rev 0)
+++ trunk/dports/tex/detex/Portfile	2008-03-17 09:44:19 UTC (rev 35088)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    detex
+version                 2.8
+categories              devel
+maintainers             ryandesign
+homepage                http://www.cs.purdue.edu/homes/trinkle/detex/
+master_sites            ${homepage}
+platforms               darwin
+extract.suffix          .tar
+extract.cmd             tar
+extract.pre_args        -xf
+extract.post_args
+use_configure           no
+universal_variant       no
+
+description \
+    remove TeX constructs from a text file
+
+long_description \
+    Detex ${description}.
+
+checksums \
+    md5 7a96b647f43bb077323cde92faa1e893 \
+    sha1 57691f8e4dd52cbf632f38abebfd8c3725de019b \
+    rmd160 983ea90de9e3559317baf4a71de0e8de47863b7d
+
+patchfiles \
+    patch-Makefile.diff
+
+destroot {
+    xinstall -W ${worksrcpath} detex ${destroot}${prefix}/bin
+    xinstall -W ${worksrcpath} detex.1l ${destroot}${prefix}/share/man/man1/
+    
+    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
+    xinstall -d ${docdir}
+    xinstall -W ${worksrcpath} COPYRIGHT README ${docdir}
+}


Property changes on: trunk/dports/tex/detex/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/tex/detex/files/patch-Makefile.diff
===================================================================
--- trunk/dports/tex/detex/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/tex/detex/files/patch-Makefile.diff	2008-03-17 09:44:19 UTC (rev 35088)
@@ -0,0 +1,11 @@
+--- Makefile	2008-03-17 04:24:37.000000000 -0500
++++ Makefile	2008-03-17 04:25:33.000000000 -0500
+@@ -67,7 +67,7 @@
+ # Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
+ # in detex.l (reported by pinard at iro.umontreal.ca)
+ #
+-#DEFS	+= ${DEFS} -DNO_MALLOC_DECL
++DEFS	+= -DNO_MALLOC_DECL
+ #
+ CFLAGS	= -O ${DEFS}
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080317/28277f4b/attachment.html


More information about the macports-changes mailing list