source: trunk/dports/devel/PlasmaShop/Portfile

Last change on this file was 97533, checked in by ryandesign@…, 5 years ago

PlasmaShop: only conflict with tidy on case-insensitive filesystems

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 97533 2012-09-08 05:53:11Z ryandesign@macports.org $
3
4PortSystem                  1.0
5PortGroup                   cmake 1.0
6PortGroup                   conflicts_build 1.0
7PortGroup                   qt4 1.0
8
9name                        PlasmaShop
10version                     3.0-158
11categories                  devel
12platforms                   darwin
13maintainers                 ryandesign
14license                     GPL-3+
15homepage                    https://github.com/H-uru/PlasmaShop
16
17description                 tool for inspecting and manipulating Plasma game files
18
19long_description            ${name} is a tool for inspecting and manipulating \
20                            the files that make up games based on the Plasma \
21                            engine, such as Myst Online: URU Live. It can do \
22                            many age-related tasks that lie outside of what \
23                            the PRP Blender Plugin can do: create PAK files, \
24                            decompyle/compile Python scripts, sum age files, \
25                            etc.
26
27fetch.type                  git
28git.url                     https://github.com/H-uru/PlasmaShop.git
29git.branch                  c826c6710818e625fea08492b81c952090f3da08
30
31depends_lib-append          port:libhsplasma
32
33patchfiles                  patch-CMakeLists.txt.diff patch-prefix.diff
34
35post-patch {
36    reinplace "s|@PREFIX@|${prefix}|g" \
37                            ${worksrcpath}/CMakeLists.txt \
38                            ${worksrcpath}/QScintilla/Qt4/qscintilla.pro \
39                            ${worksrcpath}/src/3rdParty/qticonloader.cpp
40}
41
42# tidy's platform.h shadows QScintilla's Platform.h on case-insensitive filesystems
43if {[file exists ${prefix}/include/Platform.h]} {
44    conflicts_build         tidy
45}
46
47configure.pre_args          -DCMAKE_INSTALL_PREFIX=${applications_dir}
48
49platform darwin {
50    # http://www.ogre3d.org/forums/viewtopic.php?t=9949#p71474
51    configure.cflags-append     -DGL_GLEXT_LEGACY
52    configure.cxxflags-append   -DGL_GLEXT_LEGACY
53}
54
55livecheck.type              regex
56livecheck.url               https://raw.github.com/H-uru/PlasmaShop/master/src/PlasmaShop/Main.h
57livecheck.version           [lindex [split ${version} -] 1]
58livecheck.regex             {\(build (\d+)\)}
Note: See TracBrowser for help on using the repository browser.