Ticket #1890: Portfile

File Portfile, 1.2 KB (added by julien.touche@…, 20 years ago)

portfile

Line 
1# $Id: $
2PortSystem        1.0
3name              kimdaba
4version           1.1
5categories        graphics
6maintainers       darwinports@opendarwin.org
7description       K Image Database for photo management
8long_description  \
9                  H
10homepage          http://ktown.kde.org/kimdaba/
11master_sites      http://ktown.kde.org/kimdaba/download/
12platforms         darwin
13checksums         md5 4c0a35d6f9ce87f6c55694447e9f8da2
14configure.args    --enable-mac \
15                  --with-extra-libs=${prefix}/lib \
16                  --with-extra-includes=${prefix}/include \
17                  --with-qt-includes=${prefix}/include/qt3 \
18                  --with-qt-libraries=${prefix}/lib
19depends_lib        \
20                  lib:libjpeg:jpeg \
21                  lib:libpng:png \
22                  lib:libqt:qt3 \
23                  lib:libkde:kdelibs3 \
24                  bin:msgfmt:gettext
25
26build.type        gnu
27pre-destroot {
28        reinplace "s|PREFIX=/opt/local|PREFIX=${destroot}${prefix}|" \
29                ${worksrcpath}/Makefile
30        file mkdir ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 ${worksrcpath}/README \
32                ${destroot}${prefix}/share/doc/${name}
33}
34
35## not tested
36variant qt3_mac {
37        #lib:libqt:qt3-mac \
38        depends_lib-append      lib:libqt:qt3
39        depends_lib-delete      lib:libqt:qt3-mac
40}
41