source: trunk/dports/tex/detex/Portfile

Last change on this file was 83385, checked in by dports@…, 6 years ago

standardize some license formatting issues:

  • use - to indicate version, not v, e.g. GPL-2 not GPLv2
  • use lists for multiple options, e.g. {Artistic GPL}
  • perl license is {Artistic GPL}
  • Python license is PSF
  • call the NCSA/UIUC license NCSA
  • libpng/zlib have the same license; call it zlib
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 83385 2011-08-31 01:52:26Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    detex
7version                 2.8
8revision                1
9categories              tex textproc
10maintainers             ryandesign
11license                 NCSA
12homepage                http://www.cs.purdue.edu/homes/trinkle/detex/
13master_sites            ${homepage}
14platforms               darwin
15extract.suffix          .tar
16extract.cmd             tar
17extract.pre_args        -xf
18extract.post_args
19use_configure           no
20use_parallel_build      yes
21
22description \
23    removes TeX constructs from a text file
24
25long_description \
26    Detex ${description}.
27
28checksums \
29    md5 7a96b647f43bb077323cde92faa1e893 \
30    sha1 57691f8e4dd52cbf632f38abebfd8c3725de019b \
31    rmd160 983ea90de9e3559317baf4a71de0e8de47863b7d
32
33patchfiles \
34    patch-Makefile.diff
35
36variant universal {}
37if {[variant_isset universal]} {
38    set archflags ${configure.universal_cflags}
39} else {
40    set archflags ${configure.cc_archflags}
41}
42
43build.args              CC="${configure.cc} ${archflags}"
44
45destroot {
46    xinstall -W ${worksrcpath} detex ${destroot}${prefix}/bin
47    xinstall -W ${worksrcpath} detex.1l ${destroot}${prefix}/share/man/man1/
48   
49    set docdir ${destroot}${prefix}/share/doc/${name}
50    xinstall -d ${docdir}
51    xinstall -W ${worksrcpath} COPYRIGHT README ${docdir}
52}
53
54livecheck.type          regex
55livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.