Date: 13 Feb 2003 23:29:08 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: "Mezz bsdforums.org" <reigncracks@hotmail.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: Here's Lumiere 0.4 ports.. Message-ID: <1045196948.69226.32.camel@shumai.marcuscom.com> In-Reply-To: <F81RD88kRWBSCsIvSiS00024a2c@hotmail.com> References: <F81RD88kRWBSCsIvSiS00024a2c@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-FN3hZf3FKvycNT8f8WCa Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-02-13 at 22:58, Mezz bsdforums.org wrote: > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > > .if !exists(/usr/local/bin/mplayer) > > > BROKEN=3D "MPlayer doesn\'t exist!" > > > BROKEN+=3D "You have to install MPlayer from /usr/ports/multimedia/mp= layer > > > first." > > > .endif > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > > >a) You should never use fully-qualified paths like that. Instead, use > >the ${LOCALBASE} or ${X11BASE} macros. >=20 > I tried did that last night and recently, it doesn't work very well same = as=20 > what full path does. I am not sure exactly why it doesn't work. I did=20 > "${LOCALBASE}/bin/mplayer", it will keep say it's broke when I already ha= ve=20 > mplayer installed. Do I need to put something speical inside the exists()= ? You need to make sure this check goes after: .include <bsd.port.pre.mk> >=20 > >b) Why don't you add a RUN_DEPENDS on mplayer instead of doing the > >BROKEN thing at all? >=20 > Because, MPlayer has a lot of options to install it. So, I thought it wou= ld=20 > be good idea to force users to go to the ports and install by theirselves= =20 > with extra options. Am I making any sense? Yeah, but by doing this, you will never be able to build a package of Lumiere. I recommend adding mplayer as a RUN_DEPENDS, and users can then decide to build mplayer later with more options. There are examples of this throughout the ports collection (gstreamer-plugins being a nice GNOME example). Joe >=20 > Thanks, > Mezz >=20 > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* =20 > http://join.msn.com/?page=3Dfeatures/junkmail >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-FN3hZf3FKvycNT8f8WCa 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+THCUb2iPiv4Uz4cRAiPRAJ9t0+iub/3bwOkv+7B1SiSQyO4+kgCfbxr0 4wBqxe61+q9djMNVXZdIO9c= =NbRN -----END PGP SIGNATURE----- --=-FN3hZf3FKvycNT8f8WCa-- 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?1045196948.69226.32.camel>