Ticket #4817: Portfile-i18n.template

File Portfile-i18n.template, 961 bytes (added by yves@…, 19 years ago)

Portfile template

Line 
1# $Id: Portfile,v 1.1 2005/09/01 04:44:34 yves Exp $
2
3PortSystem 1.0
4name           kde-i18n-LANG_SUFFIX
5version        3.4.1
6categories     x11
7maintainers    yves@opendarwin.org
8description    KDE French language files.
9long_description ${description}
10platforms      darwin
11
12depends_lib    port:kdelibs3
13master_sites   kde:stable/${version}/src/kde-i18n
14use_bzip2      yes
15checksums      md5 KDE_MD5
16
17pre-configure {
18    reinplace "s|doc/HTML|doc/kde|g" ${worksrcpath}/configure
19}
20configure.env  CC=gcc-3.3 CXX=g++-3.3 \
21               HOME=/tmp \
22               KDEDIR=${prefix}
23configure.args --without-arts
24post-configure {
25    system "find ${worksrcpath} -name \*.bz2 -exec touch {} \\;"
26}
27build.env          ${configure.env}
28build.args     -j2
29
30destroot.args  -j2
31post-destroot {
32    xinstall -d -m 755 ${destroot}${prefix}/share/doc/kde-installed-packages
33    system "touch \
34        ${destroot}${prefix}/share/doc/kde-installed-packages/kde-i18n-KDE_LANG"
35}