Skip site navigation (1)Skip section navigation (2)
Date:      28 Feb 2003 20:31:30 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
Cc:        gnome freebsd <freebsd-gnome@freebsd.org>
Subject:   Re: Help on porting straw, please
Message-ID:  <1046482290.7679.17.camel@shumai.marcuscom.com>
In-Reply-To: <20030301003119.GA70402@martin.kdrache.org>
References:  <20030301003119.GA70402@martin.kdrache.org>

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

--=-hpksGRcy3Wtuzg8tLkIY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-02-28 at 19:31, Martin Klaffenboeck wrote:
> Hello,
>=20
> I want to port straw (http://www.nongnu.org/straw/) to FreeBSD.
>=20
> Now I need some help please.
>=20
> It is written in python and there is no configure script, so I have to=20
> set all up with the Makefile (gmake).
>=20
> The dist - Makefile has some options:
>=20
> PYTHON ?=3D python2.2
> INSTALL ?=3D install
> RM ?=3D rm
> MSGFMT ?=3D msgfmt
>                                                                          =
                                      =20
> #PREFIX =3D /usr/local
> # autodetect GNOME prefix, change this if you want it elsewhere
> PREFIX ?=3D `pkg-config libgnome-2.0 --variable=3Dprefix || echo /usr/loc=
al`
>                                                                          =
                                      =20
> LIBDIR =3D $(PREFIX)/lib/python2.2/site-packages/straw
> BINDIR =3D $(PREFIX)/bin
> DATADIR =3D $(PREFIX)/share/straw
> APPLICATIONSDIR =3D $(PREFIX)/share/applications
> ICONDIR =3D $(PREFIX)/share/pixmaps
> LOCALEDIR =3D $(PREFIX)/share/locale
>=20
> Can I just patch this things or is there something special for that? =20
> Can I just set MAKE_ENV =3D ${PREFIX} in my ports Makefile for that and=20
> change APPLICATIONSDIR and ICONDIR?
>=20
> How can I do that the correct way?

Since the variables are assigned with the ?=3D operator, you can set up
things using MAKE_ENV in the port's Makefile.  Note, some of these
things are set by default.  You might want to do a make -V MAKE_ENV to
see what default settings you have, then adjust it with additional
settings.

Joe

>=20
> Martin
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-hpksGRcy3Wtuzg8tLkIY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQA+YA1xb2iPiv4Uz4cRAud4AJwO4wlviOF83z1IgalOHSVOfbsr3wCfTpGg
EbFKgc/YzL0QRs5CQedxyGE=
=9giW
-----END PGP SIGNATURE-----

--=-hpksGRcy3Wtuzg8tLkIY--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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