#17509 closed defect (fixed)
magicpoint does not exist upstream
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | fenner@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | fenner@… | |
Port: | magicpoint |
Description
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
Change History (3)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
comment:2 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
FYI, pkg-config always looks in ${x11prefix}/lib/pkgconfig these days.