[91191] trunk/dports/games/fizmo
dports at macports.org
dports at macports.org
Sun Mar 25 01:49:57 PDT 2012
Revision: 91191
https://trac.macports.org/changeset/91191
Author: dports at macports.org
Date: 2012-03-25 01:49:57 -0700 (Sun, 25 Mar 2012)
Log Message:
-----------
fizmo: maintainer update to v0.7.2 (#33662)
Modified Paths:
--------------
trunk/dports/games/fizmo/Portfile
Removed Paths:
-------------
trunk/dports/games/fizmo/files/
Modified: trunk/dports/games/fizmo/Portfile
===================================================================
--- trunk/dports/games/fizmo/Portfile 2012-03-25 08:43:12 UTC (rev 91190)
+++ trunk/dports/games/fizmo/Portfile 2012-03-25 08:49:57 UTC (rev 91191)
@@ -3,8 +3,7 @@
PortSystem 1.0
name fizmo
-version 0.6.10
-revision 1
+version 0.7.2
categories games
maintainers spellbreaker.org:Christoph.Ender
description Console-based Z-Machine interpreter for Infocom games.
@@ -25,27 +24,34 @@
platforms darwin linux
master_sites http://spellbreaker.org/~chrender/fizmo/source/
-checksums sha1 858a8e1f7f2fcc01b5bc9a42459f6ae4ce166b6b \
- rmd160 78c96833c95621831e871f4a36b3c1c0f3f198ff
+checksums sha256 9d9f6121e6a7cb67a3ffdcd182fc8a1840f01faae6ec1dfb85b1c4fbd2bdb7ed \
+ rmd160 f5e8f31db5a84c2e18a2a12b17d54a29ceb87e47
depends_lib port:ncurses \
port:libsdl_sound \
port:libsndfile \
- port:libxml2
+ port:libxml2 \
+ port:xorg-libX11 \
+ port:jpeg \
+ port:libpng
-patchfiles patch-src-fizmo-Makefile.diff
-
post-patch {
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.macports.mk
- reinplace "s|NCURSESW_INC_DIR = /usr/include|NCURSESW_INC_DIR = \$(DEFAULT_PREFIX)/include|g" ${worksrcpath}/config.macports.mk
- reinplace "s|NCURSESW_LIB_DIR = /usr/lib|NCURSESW_LIB_DIR = \$(DEFAULT_PREFIX)/lib|g" ${worksrcpath}/config.macports.mk
- reinplace "s|LIBXML2_INC_DIR = /usr/include/libxml2|LIBXML2_INC_DIR = \$(DEFAULT_PREFIX)/include/libxml2|g" ${worksrcpath}/config.macports.mk
- reinplace "s|LIBXML2_LIB_DIR = /usr/lib|LIBXML2_LIB_DIR = \$(DEFAULT_PREFIX)/lib|g" ${worksrcpath}/config.macports.mk
+ file copy ${worksrcpath}/config.macports.mk ${worksrcpath}/config.mk
+ reinplace "s|/opt/local|${destroot}${prefix}|g" ${worksrcpath}/config.mk
}
use_configure no
-build.args CONFIG_FILE=config.macports.mk \
- CC="${configure.cc} [get_canonical_archflags]"
+build.args CC="${configure.cc}" CFLAGS="[get_canonical_archflags]" prefix=${prefix}
+build.target fizmo-console fizmo-ncursesw
-destroot.args CC="${configure.cc} [get_canonical_archflags]"
+destroot.args CC="${configure.cc}" CFLAGS="[get_canonical_archflags]" prefix=${prefix} DESTDIR="${destroot}/${prefix}"
+destroot.target install-locales install-fizmo-console install-fizmo-ncursesw
+
+post-destroot {
+ file link -symbolic ${destroot}${prefix}/bin/fizmo \
+ fizmo-ncursesw
+ file link -symbolic ${destroot}${prefix}/share/man/man6/fizmo.6 \
+ fizmo-ncursesw.6
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120325/b60cee35/attachment-0001.html>
More information about the macports-changes
mailing list