source: trunk/dports/emulators/pearpc/Portfile @ 47207

Last change on this file since 47207 was 45603, checked in by jeremyhu@…, 12 years ago

x11 dependent ports: Force port: based X11 dependencies

As mentioned over the past month and a half on macports-dev:
http://lists.macosforge.org/pipermail/macports-dev/2008-December/006818.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/006870.html
http://lists.macosforge.org/pipermail/macports-dev/2009-January/007003.html

This should address the underlying problem in tickets:
http://trac.macports.org/ticket/17356
http://trac.macports.org/ticket/17558
http://trac.macports.org/ticket/17631

This commit updates all ports explicitly depending on X11. These ports now
explicitly rely on X11 libraries in MacPorts rather than using lib: based
dependencies satisfied by X11 libraries in $x11prefix. The former policy was
devised due to the difficulty of providing such libs easily to the MacPorts
community under the old monolythic X distribution. Due to the X.org project's
transition to the autoconf build system and modularization of the project as
well as the XQuartz projects efforts to make these new releases work on OSX,
MacPorts can now have more control over its offerings and provide users with
better consistency and stability.

Other ports that "inherited" the X11 dependency may still require a revision
bump to link against the new libs. If you find a binary or library linking
against $x11prefix/lib/lib*.dylib after 'sudo port upgrade outdated' (and
you're not using the +system_x11 variant), please report that, so we can get
it fixed.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name                    pearpc
6version                 0.4
7revision                1
8categories              emulators
9platforms               darwin
10maintainers             shadow@dementia.org
11description             PowerPC Emulator
12long_description        PearPC is a PowerPC emulator which emulates a base set of \
13                                hardware you might have on an older Macintosh system. As it \
14                                currently emulates a processor rather than using \
15                                virtualization, it is very slow on a PowerPC based system.
16homepage                http://pearpc.sourceforge.net/
17master_sites            sourceforge
18patchfiles             patch-sysx11.cc
19checksums               md5 cc317b19d61a49987f2265e885fa6301
20use_bzip2               yes
21
22depends_lib             port:xorg-libs
23
24#fetch.type             cvs
25#cvs.root               :pserver:anonymous@cvs.sourceforge.net:/cvsroot/pearpc
26#cvs.module             pearpc
27#cvs.password   ""
28#cvs.args               -D20050106
29#worksrcdir             ${cvs.module}
30#pre-configure  { system "cd ${worksrcpath} && sh ./autogen.sh" }
31
32configure.args  --mandir=\\\${prefix}/share/man
33
34destroot.destdir        prefix=${destroot}${prefix}
35
36post-destroot {
37        xinstall -m 755 -d ${destroot}${prefix}/etc/pearpc
38        xinstall -m 755 ${worksrcpath}/ppccfg.example \
39                ${destroot}${prefix}/share/pearpc
40        xinstall -m 755 ${worksrcpath}/README \
41                ${destroot}${prefix}/share/pearpc
42}
43
44post-activate {
45        ui_msg "\n
46See sample config file ${prefix}/share/pearpc/ppccfg.example.
47
48You will need to make a .img disk image or download one from
49http://pearpc.sourceforge.net/downloads.html.
50\n"
51}
Note: See TracBrowser for help on using the repository browser.