#17509: magicpoint does not exist upstream -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: fenner@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: magicpoint -----------------------------------+---------------------------------------- The tarball and homepage 404, so I can't test a fix to the Portfile to make it install in the correct prefix. {{{ Index: Portfile =================================================================== --- Portfile (revision 42954) +++ Portfile (working copy) @@ -16,34 +16,29 @@ files quickly with your favorite editor (e.g. Emacs, vi). #XXX this should be in portmain.tcl -set localprefix ${prefix} -prefix ${x11prefix} - patchfiles patch-config.guess patch-image.h patch-new.c patch-parse.c \ patch-default.mgp patch-configure -depends_lib lib:libXft.2:Xft2 lib:libpng12.0:libpng \ +depends_build port:pkgconfig \ + bin:xmkmf:imake + +depends_lib lib:libXft.2:Xft2 \ + lib:libpng12.0:libpng \ lib:libungif.4:libungif -# pkg-config should have both ${x11prefix} and ${prefix} hardcoded; -# until it does, we let it know about ${x11prefix}. -# LOCALPREFIX= is for configure to find libungif. -configure.env PKG_CONFIG_PATH=${x11prefix}/lib/pkgconfig LOCALPREFIX=${localprefix} LIBS=-L${localprefix}/lib -configure.args --enable-gif +configure.env PKG_CONFIG_PATH=${x11prefix}/lib/pkgconfig +configure.args --enable-gif --mandir=${prefix}/share/man post-configure { # unusual port: uses not just autoconf but also Imake system "cd \"${worksrcpath}\" && xmkmf && make Makefiles" } -# note destroot requires root due to use of "install -u root" - destroot.target install install.man -post-destroot { - # MacPorts tries to force man pages into share/man; - # for X applications the man dir is simply man, so move them - system "cd \"${destroot}${prefix}\" && rm -rf man && mv share/man ." - - # install some of the documentation and examples -} +destroot.destdir \ + DESTDIR=${destroot} \ + BINDIR=${prefix}/bin \ + LIBDIR=${prefix}/lib/X11 \ + FONTDIR=${prefix}/lib/X11/fonts \ + MANPATH=${prefix}/share/man }}} -- Ticket URL: <http://trac.macports.org/ticket/17509> MacPorts <http://www.macports.org/> Ports system for Mac OS