Changeset 82986
- Timestamp:
- 08/22/11 22:41:31 (4 years ago)
- Location:
- trunk/dports/games/blobwars
- Files:
-
- 1 added
- 2 edited
-
Portfile (modified) (4 diffs)
-
files/blobwars.in (added)
-
files/patch-makefile.diff (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/blobwars/Portfile
r81427 r82986 2 2 3 3 PortSystem 1.0 4 PortGroup app 1.0 4 5 5 6 name blobwars 6 version 1.1 77 version 1.19 7 8 categories games 8 9 platforms darwin 9 10 maintainers nomaintainer 11 license GPL-2+ 12 installs_libs no 10 13 11 14 description jump and run game featuring a Blob as main character … … 18 21 leader, Galdov. 19 22 20 distname ${name}-${version}-121 worksrcdir ${name}-${version}22 23 homepage http://www.parallelrealities.co.uk/projects/blobWars.php 23 master_sites http://www.parallelrealities.co.uk/download/blobwars/24 master_sites sourceforge 24 25 25 checksums md5 b7e639e1dddf13fe7d9de939ef0e5d6f \ 26 sha1 0541c4f6e4b9ca7222dc66594c054db8219e3e5f \ 27 rmd160 1b9752f262d111a6fc71e995c9c3d1fc3c87ff3f 26 checksums rmd160 39a2bf865e7c2af97dcb2d26e06604e8d1fcc62f \ 27 sha256 f9bafe59ead9e370ceaba4aae3d280241bf05fa06c8ae006eec0322c2fe9e2ed 28 28 29 29 depends_lib port:gettext \ … … 35 35 port:zlib 36 36 37 post-extract { 38 copy ${filespath}/${name}.in ${workpath}/${name} 39 } 40 37 41 patchfiles patch-makefile.diff patch-src_pak.h.diff 42 43 post-patch { 44 reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/${name} 45 } 38 46 39 47 use_configure no 40 48 49 variant universal {} 50 41 51 use_parallel_build yes 42 52 build.args PREFIX=${prefix} 43 build.env C FLAGS=-I${prefix}/include\44 LDFLAGS=-bind_at_load53 build.env CXX="${configure.cxx} [get_canonical_archflags]" \ 54 CFLAGS=${configure.cppflags} 45 55 46 56 destroot.destdir PREFIX=${destroot}${prefix} … … 51 61 } 52 62 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 } 63 app.name Blob Wars 64 app.executable ${workpath}/${name} 65 app.icon gfx/main/alienDevice.png 66 app.identifier uk.co.parallelrealities.BlobWars 67 68 livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} -
trunk/dports/games/blobwars/files/patch-makefile.diff
r81427 r82986 1 --- makefile.orig 201 0-03-07 21:58:04.000000000 +11002 +++ makefile 2011-0 7-30 22:49:56.000000000 +10003 @@ - 8,7 +8,7 @@4 USEPAK = 11 --- 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 5 5 6 PREFIX =$(DESTDIR)/usr7 -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/ 12 12 @@ -22,7 +22,7 @@ 13 13 CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall … … 19 19 OBJS += CAudio.o 20 20 OBJS += CBoss.o 21 @@ -8 0,7 +80,7 @@21 @@ -85,7 +85,7 @@ 22 22 $(CXX) $(LIBS) $(GAMEOBJS) -o $(PROG) 23 23 … … 28 28 %.mo: %.po 29 29 msgfmt -c -o $@ $< 30 @@ -108,9 +108,9 @@31 mkdir -p $(ICONDIR)64x64/apps32 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).png42 cp $(ICONS)$(PROG)-large.png $(ICONDIR)64x64/apps/$(PROG).png
Note: See TracChangeset
for help on using the changeset viewer.

