Changeset 95782
- Timestamp:
- Jul 22, 2012, 9:41:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/textproc/tth/Portfile
r74677 r95782 4 4 5 5 name tth 6 version 4.0 06 version 4.03 7 7 categories textproc print 8 8 maintainers toby … … 24 24 dist_subdir ${name}/${version} 25 25 26 checksums md5 0c5ca8ecba950075f12c98bd9ae42087 \ 27 sha1 b0d290b8f15e10889a56b504892780a5caa9e126 \ 28 rmd160 64ee3b3fc147de45bb316bb31d2d606bca3fd77e 26 checksums rmd160 bb0a5a38c5f99dabff0c921a1c2c8cbe476f6b19 \ 27 sha256 ce532f5dcf907c29e1ec581d1bd9c235f0ad66fe75f0b3b703eb2a73664ab61d 29 28 30 # sigh 31 configure {} 32 set mycflags ${configure.cflags} 33 if {[variant_isset universal]} { 34 set mycflags "$mycflags ${configure.universal_cflags}" 35 } else { 36 if {[info exists configure.cc_archflags]} { set mycflags "$mycflags ${configure.cc_archflags}" } 37 } 29 use_configure no 30 31 variant universal {} 38 32 39 33 build.cmd ${configure.cc} 40 34 build.pre_args 41 build.args $ mycflags${name}.c -o ${name}35 build.args ${configure.cflags} [get_canonical_archflags cc] ${name}.c -o ${name} 42 36 43 37 destroot { … … 47 41 xinstall -m 755 ${worksrcpath}/ps2png ${destroot}${prefix}/bin 48 42 xinstall -m 644 ${worksrcpath}/tth.1 ${destroot}${prefix}/share/man/man1 43 44 set docdir ${prefix}/share/doc/${name} 45 xinstall -d ${destroot}${docdir} 46 xinstall -m 644 -W ${worksrcpath} \ 47 CHANGES \ 48 license.txt \ 49 tth_manual.html \ 50 ${destroot}${docdir} 49 51 } 50 52
Note: See TracChangeset
for help on using the changeset viewer.