New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82986


Ignore:
Timestamp:
08/22/11 22:41:31 (4 years ago)
Author:
ryandesign@…
Message:

blobwars:

  • update to 1.19
  • indicate license
  • installs_libs no
  • use app portgroup
  • add app icon
  • fix livecheck
Location:
trunk/dports/games/blobwars
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/blobwars/Portfile

    r81427 r82986  
    22 
    33PortSystem              1.0 
     4PortGroup               app 1.0 
    45 
    56name                    blobwars 
    6 version                 1.17 
     7version                 1.19 
    78categories              games 
    89platforms               darwin 
    910maintainers             nomaintainer 
     11license                 GPL-2+ 
     12installs_libs           no 
    1013 
    1114description             jump and run game featuring a Blob as main character 
     
    1821                        leader, Galdov. 
    1922 
    20 distname                ${name}-${version}-1 
    21 worksrcdir              ${name}-${version} 
    2223homepage                http://www.parallelrealities.co.uk/projects/blobWars.php 
    23 master_sites            http://www.parallelrealities.co.uk/download/blobwars/ 
     24master_sites            sourceforge 
    2425 
    25 checksums               md5     b7e639e1dddf13fe7d9de939ef0e5d6f \ 
    26                         sha1    0541c4f6e4b9ca7222dc66594c054db8219e3e5f \ 
    27                         rmd160  1b9752f262d111a6fc71e995c9c3d1fc3c87ff3f 
     26checksums               rmd160  39a2bf865e7c2af97dcb2d26e06604e8d1fcc62f \ 
     27                        sha256  f9bafe59ead9e370ceaba4aae3d280241bf05fa06c8ae006eec0322c2fe9e2ed 
    2828 
    2929depends_lib             port:gettext \ 
     
    3535                        port:zlib 
    3636 
     37post-extract { 
     38    copy ${filespath}/${name}.in ${workpath}/${name} 
     39} 
     40 
    3741patchfiles              patch-makefile.diff patch-src_pak.h.diff 
     42 
     43post-patch { 
     44    reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/${name} 
     45} 
    3846 
    3947use_configure           no 
    4048 
     49variant universal {} 
     50 
    4151use_parallel_build      yes 
    4252build.args              PREFIX=${prefix} 
    43 build.env               CFLAGS=-I${prefix}/include \ 
    44                         LDFLAGS=-bind_at_load 
     53build.env               CXX="${configure.cxx} [get_canonical_archflags]" \ 
     54                        CFLAGS=${configure.cppflags} 
    4555 
    4656destroot.destdir        PREFIX=${destroot}${prefix} 
     
    5161} 
    5262 
    53 platform darwin { 
    54     pre-destroot { 
    55         xinstall -d ${destroot}${applications_dir}/BlobWars.app/Contents/MacOS 
    56         ln -s ${prefix}/bin/blobwars \ 
    57             ${destroot}${applications_dir}/BlobWars.app/Contents/MacOS/BlobWars 
    58     } 
    59 } 
     63app.name                Blob Wars 
     64app.executable          ${workpath}/${name} 
     65app.icon                gfx/main/alienDevice.png 
     66app.identifier          uk.co.parallelrealities.BlobWars 
     67 
     68livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix} 
  • trunk/dports/games/blobwars/files/patch-makefile.diff

    r81427 r82986  
    1 --- makefile.orig       2010-03-07 21:58:04.000000000 +1100 
    2 +++ makefile    2011-07-30 22:49:56.000000000 +1000 
    3 @@ -8,7 +8,7 @@ 
    4  USEPAK = 1 
     1--- makefile.orig       2011-04-17 09:56:56.000000000 -0500 
     2+++ makefile    2011-08-22 23:07:02.000000000 -0500 
     3@@ -9,7 +9,7 @@ 
     4 USEPAK ?= 0 
    55  
    6  PREFIX=$(DESTDIR)/usr 
    7 -BINDIR = $(PREFIX)/games/ 
    8 +BINDIR = $(PREFIX)/bin/ 
    9  DATADIR = $(PREFIX)/share/games/blobwars/ 
    10  DOCDIR = $(PREFIX)/share/doc/$(PROG)/ 
    11  ICONDIR = $(PREFIX)/share/icons/hicolor/ 
     6 PREFIX ?= /usr 
     7-BINDIR ?= $(PREFIX)/games/ 
     8+BINDIR ?= $(PREFIX)/libexec/blobwars/ 
     9 DATADIR ?= $(PREFIX)/share/games/blobwars/ 
     10 DOCDIR ?= $(PREFIX)/share/doc/$(PROG)/ 
     11 ICONDIR ?= $(PREFIX)/share/icons/hicolor/ 
    1212@@ -22,7 +22,7 @@ 
    1313 CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall 
     
    1919 OBJS += CAudio.o 
    2020 OBJS += CBoss.o 
    21 @@ -80,7 +80,7 @@ 
     21@@ -85,7 +85,7 @@ 
    2222        $(CXX) $(LIBS) $(GAMEOBJS) -o $(PROG) 
    2323         
     
    2828 %.mo: %.po 
    2929        msgfmt -c -o $@ $< 
    30 @@ -108,9 +108,9 @@ 
    31         mkdir -p $(ICONDIR)64x64/apps 
    32         mkdir -p $(DESKTOPDIR) 
    33   
    34 -       install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) 
    35 -       install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) 
    36 -       install -o root -g games -m 644 $(DOCS) $(DOCDIR) 
    37 +       install -m 755 $(PROG) $(BINDIR)$(PROG) 
    38 +       install -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) 
    39 +       install -m 644 $(DOCS) $(DOCDIR) 
    40         cp $(ICONS)$(PROG).png $(ICONDIR)32x32/apps/ 
    41         cp $(ICONS)$(PROG)-mini.png $(ICONDIR)16x16/apps/$(PROG).png 
    42         cp $(ICONS)$(PROG)-large.png $(ICONDIR)64x64/apps/$(PROG).png 
Note: See TracChangeset for help on using the changeset viewer.