source: trunk/dports/devel/Drizzle/Portfile

Last change on this file was 83266, checked in by ryandesign@…, 6 years ago

Drizzle: update to 30; use app portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 83266 2011-08-29 11:11:42Z ryandesign@macports.org $
3
4PortSystem                  1.0
5PortGroup                   app 1.0
6
7name                        Drizzle
8version                     30
9categories                  devel
10platforms                   darwin
11maintainers                 ryandesign
12license                     GPL-3+
13supported_archs             noarch
14
15description                 tools related to the Myst game franchise
16
17long_description            ${name} is a collection of ${description}. \
18                            Most notably, it can transform MOUL / Myst 5 / \
19                            Crowthistle datafiles into POTS datafiles. \
20                            It also allows you to download and install all \
21                            the fan-created ages.
22
23homepage                    http://dusty.homeunix.net/wiki/Drizzle
24master_sites                sourceforge:drizzle
25distname                    ${name}${version}
26extract.suffix              .jar
27extract.only
28
29checksums                   rmd160  d343759590a826344f44d3999fed990e12cb380a \
30                            sha256  32ce0e9bceea7cf55c6a381a10b3942e5f3904f7aa08ea6735c1413386ef4667
31
32extract.mkdir               yes
33
34post-extract {
35    copy ${distpath}/${distfiles} ${worksrcpath}
36    copy ${filespath}/drizzle.in ${worksrcpath}/drizzle
37    copy ${filespath}/drizzleapp.in ${worksrcpath}/drizzleapp
38}
39
40use_configure               no
41
42build {
43    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/drizzle ${worksrcpath}/drizzleapp
44}
45
46destroot {
47    set javadir ${destroot}${prefix}/share/java/
48    xinstall -d ${javadir}
49    xinstall ${worksrcpath}/${distfiles} ${javadir}drizzle.jar
50   
51    xinstall ${worksrcpath}/drizzle ${destroot}${prefix}/bin/
52}
53
54app.executable              ${worksrcpath}/drizzleapp
55app.identifier              net.homeunix.dusty.Drizzle
56
57livecheck.type              regex
58livecheck.url               http://sourceforge.net/projects/drizzle/files/
59livecheck.regex             /${name}(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.