Changeset 47667


Ignore:
Timestamp:
Mar 3, 2009, 9:56:01 AM (10 years ago)
Author:
blb@…
Message:

security/stegdetect - make it build (ticket #13637); doesn't depend on jpeg
since it has its own, modified, jpeg library; install a rules.ini.sample
(and copy in post-activate if it isn't present)

Location:
trunk/dports/security/stegdetect
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/stegdetect/Portfile

    r47666 r47667  
    44name                stegdetect
    55version             0.6
    6 revision            1
     6revision            2
    77categories          security graphics
    88maintainers         nomaintainer
     
    2020checksums           md5 850a3551b5c450b9f450a919ad021767
    2121
    22 depends_lib         port:jpeg
     22patchfiles          patch-Makefile.in.diff patch-configure.diff \
     23                    patch-file_Makefile.in.diff patch-stegdetect.c.diff
    2324
    2425configure.args      --mandir=${prefix}/share/man
     
    2829
    2930post-destroot {
     31   xinstall -m 755 -d ${destroot}${prefix}/share/stegbreak
     32   xinstall -m 644 -W ${filespath} rules.ini.sample \
     33      ${destroot}${prefix}/share/stegbreak
    3034   file delete ${destroot}${prefix}/share/magic \
    3135      ${destroot}${prefix}/share/magic.inc \
     
    3539}
    3640
     41post-activate {
     42   if {![file exists ${prefix}/share/stegbreak/rules.ini]} {
     43      file copy ${prefix}/share/stegbreak/rules.ini.sample \
     44         ${prefix}/share/stegbreak/rules.ini
     45   }
     46}
     47
    3748platform darwin 8 powerpc {
    3849   configure.compiler   gcc-3.3
Note: See TracChangeset for help on using the changeset viewer.