Ticket #12463: Portfile

File Portfile, 1.4 KB (added by simon@…, 17 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                kdiff3
6version             0.9.92
7categories          devel
8maintainers         ruderich.com:simon
9description         kdiff3 is a file comparing and merging tool.
10long_description    kdiff3 compares two or three input files and shows the \
11                    differences line by line and character by character. It \
12                    provides an automatic merge facility and an integrated \
13                    editor for comfortable solving of merge conflicts. \
14                    kdiff3 allows recursive directory comparison and merging \
15                    as well.
16homepage            http://kdiff3.sourceforge.net/
17platforms           darwin
18master_sites        sourceforge:kdiff3
19
20checksums           md5 c7b52bfee6a085393de0c4f83732e8f0 \
21                    sha1 c97b98150a1f5de16736a399affe1b4243d1e6c2 \
22                    rmd160 3757fe678e944755164cdc62bfca9f0214acdbb8
23
24depends_lib         port:kdelibs3
25
26configure.args      --with-qt-includes=${prefix}/include/qt3 \
27                    --with-qt-libs=${prefix}/lib/qt3 \
28                    --without-arts \
29                    --with-extra-includes=${prefix}/include \
30                    --with-extra-libs=${prefix}/lib
31
32post-configure {
33  reinplace "s|qt_libraries = NONE|qt_libraries = ${prefix}/lib|g" \
34    "${worksrcpath}/src/Makefile"
35  reinplace "s|-LNONE||g" \
36    "${worksrcpath}/src/Makefile"
37}