Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2011 12:33:42 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Sam Lin <sam.lin4ml@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Makefile for Emacs extension package
Message-ID:  <20110102103342.GF90883@deviant.kiev.zoral.com.ua>
In-Reply-To: <AANLkTimYk5YNkh5_Wak%2Biq6gaZYSk0G0cmDVJcxnOoad@mail.gmail.com>
References:  <AANLkTimYk5YNkh5_Wak%2Biq6gaZYSk0G0cmDVJcxnOoad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--HoGc7FifFwma1EOu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 02, 2011 at 10:08:41AM +1300, Sam Lin wrote:
> Happy New Year.
>=20
> I am trying to port a Emacs extension package ESS (Emacs Speaks Statistic=
s;
> [http://ess.r-project.org/]) and have been reading through the Porter's
> Handbook for the last couple weeks but still do not quite understand the
> contents, and hope I could please have some advice on editing the Makefil=
e.
>=20
> I am managing to get my port to automatically add a few statements in .em=
acs
> for GNU Emacs AND in init.el for XEmacs when a user uses "make install" to
> add the port so that this mode is already loaded when the user launches G=
NU
> Emacs/XEmacs. To do this I think I need to put something in my Makefile...
> probably some special rules under "do-install" or "post-patch" before
> ".include <bsd.port.mk>"? If so then what do I put? If not then what shou=
ld
> I do?
>=20
> I have looked at some existing emacs package e.g. deskutils/org-mode.el6 (
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/deskutils/org-mode.el6/Makefi=
le?rev=3D1.8)
> but seems they do not have any options or statements in their Makefile to=
 do
> similar task (if I understand the Makefile for the org-mode port). And
> unfortunately in the Porter's Handbook settings regarding Emacs appears y=
et
> to be written (page 68 as of this writing; [
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-e=
macs.html]
> ).
>=20
> Any advice would be greatly appreciated.
>=20
Machines are sometime multiuser.

Also, a modification of the user home directory (and any file outside
the $PREFIX) is something that shall be prohibited by our porting guide.

--HoGc7FifFwma1EOu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk0gVIYACgkQC3+MBN1Mb4gROwCfeu3Y3zLMe8pOx7BytxRodphT
B2UAoNB7MJQSqLzS2EZrCKQwOS+aeOcY
=xXYY
-----END PGP SIGNATURE-----

--HoGc7FifFwma1EOu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110102103342.GF90883>