source: trunk/dports/security/stegdetect/Portfile

Last change on this file was 99764, checked in by ryandesign@…, 5 years ago

stegdetect: fix "sed: RE error: illegal byte sequence" error on Mountain Lion (#37015)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 99764 2012-11-16 23:26:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                stegdetect
6version             0.6
7revision            2
8categories          security graphics
9license             BSD-old SSLeay Permissive IJG
10maintainers         nomaintainer
11description         tool for detecting steganographic content in jpeg images.
12long_description \
13   Stegdetect is an automated tool for detecting steganographic content in \
14   images. It is capable of detecting several different steganographic \
15   methods to embed hidden information in jpeg images.
16
17platforms           darwin
18
19homepage            http://www.outguess.org/detection.php
20master_sites        http://www.outguess.org/
21
22checksums           md5 850a3551b5c450b9f450a919ad021767
23
24patchfiles          patch-Makefile.in.diff patch-configure.diff \
25                    patch-file_Makefile.in.diff patch-stegdetect.c.diff
26
27configure.args      --mandir=${prefix}/share/man
28# no deps, all includes and libs should be internal (#35723)
29configure.cppflags
30configure.ldflags
31post-configure {
32   reinplace "s|install:|_install:|g" ${worksrcpath}/jpeg-6b/Makefile
33}
34
35# sed: RE error: illegal byte sequence
36build.env           LANG=C
37
38post-destroot {
39   xinstall -m 755 -d ${destroot}${prefix}/share/stegbreak
40   xinstall -m 644 -W ${filespath} rules.ini.sample \
41      ${destroot}${prefix}/share/stegbreak
42   file delete ${destroot}${prefix}/share/magic \
43      ${destroot}${prefix}/share/magic.inc \
44      ${destroot}${prefix}/share/magic.mime \
45      ${destroot}${prefix}/share/man/man1/file.1 \
46      ${destroot}${prefix}/share/man/man4/magic.4
47}
48
49post-activate {
50   if {![file exists ${prefix}/share/stegbreak/rules.ini]} {
51      file copy ${prefix}/share/stegbreak/rules.ini.sample \
52         ${prefix}/share/stegbreak/rules.ini
53   }
54}
55
56platform darwin 8 powerpc {
57   configure.compiler   gcc-3.3
58}
Note: See TracBrowser for help on using the repository browser.