Uwe Brauer writes:
Does port provide a similar functionality?
MacPorts 11:12$ port deps xemacs
Full Name: xemacs @21.4.22_6
Build Dependencies: xbitmaps
Library Dependencies: libpng, Xaw3d, ncurses, gdbm, jpeg, tiff, compface,
gettext, zlib, xorg-libXaw
Personally I add gmp, openldap, postgresql$VERSION, fontconfig, and
Xft2 to that list of library dependencies.
> - How to generate a pkg? In debian I run [...]
Does port provide a similar functionality?
No. You can copy the Portfile to a new port (xemacs-devel is probably
the best name, see below), remove any patches (since they probably
won't apply to XEmacs 21.5), change the names of the download files,
and remove the checksums. Change the port revision number to 0.
Change the download location to xemacs-21.5.
Do port uninstall xemacs, you'll get "multiple ports claim files"
errors otherwise for a few files like the xemacs binary and etags.
Working around this is possible but more work than I want to explain
at the moment.
Do port install xemacs-devel. If this works, you're good. It may
fail, either immediately (because there are no checksums) or at fetch
stage (ditto). If so, use "for i in rmd160 sha1 md5; do openssl $i
xemacs-$VERSION.tar.gz; done" to get the checksums, and add them to
the portfile. The xemacs tarball is in the Macports download area
(for me that would be /opt/local/var/macports/distfiles/xemacs-devel).
I'll provide checksums in xemacs-$VERSION.checksums starting from the
next release.
For extra points, it's possible to use a VCS to get bleeding-edge
sources, but I've not written such a Portfile, so I can't help with
that offhand. I believe it's possible to have local Portfiles so you
don't need to mess around in the MacPorts tree, but again, I've not
done that so I can't really help.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta