source: trunk/dports/games/dvorakng/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                dvorakng
6version             0.6.0rc1
7revision            1
8categories          games
9maintainers         stereo.lu:macports
10description         A Dvorak typing tutor
11long_description    DvorakNG is a Dvorak typing tutor. It is heavily based on Dvorak7min, but adds many improvements like a progress information database.
12
13homepage            http://freecode.com/projects/dvorakng/
14platforms           darwin
15
16master_sites        http://www.free.of.pl/n/nopik/
17use_bzip2           yes
18
19checksums           md5 677b38d63103d405b47751ead03c5e63 \
20                    sha1 caede2cb699e5a30a1a306e6a3ecfa9d7d97a4f9 \
21                    rmd160 0e482a7af4f4983653b79b6c0cd109217e088959
22
23depends_lib         port:ncurses
24
25worksrcdir          ${name}
26
27use_configure       no 
28
29destroot.destdir    INSTALL=${destroot}${prefix}/bin
30
31set CFLAGS          ${configure.cflags}
32set LDFLAGS         ${configure.ldflags}
33
34pre-build {
35                    build.args PROF="${CFLAGS}" LDFLAGS="${LDFLAGS}"
36}
37
38post-destroot {
39                    set docdir ${prefix}/share/doc/${name}-${version}
40                    xinstall -d ${destroot}${docdir}
41                    xinstall -m 0644 -W ${worksrcpath} COPYING README TODO \
42                        ${destroot}${docdir}
43}
44
45variant universal {
46                    set CFLAGS      "${CFLAGS} ${configure.universal_cflags}"
47                    set LDFLAGS     "${LDFLAGS} ${configure.universal_ldflags}"
48}
49
Note: See TracBrowser for help on using the repository browser.