From owner-freebsd-gnome Thu Feb 13 20:29:19 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60FC737B413 for ; Thu, 13 Feb 2003 20:29:16 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5159543F93 for ; Thu, 13 Feb 2003 20:29:15 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h1E4SURA063215; Thu, 13 Feb 2003 23:28:30 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: Here's Lumiere 0.4 ports.. From: Joe Marcus Clarke To: "Mezz bsdforums.org" Cc: FreeBSD GNOME Users In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FN3hZf3FKvycNT8f8WCa" Organization: MarcusCom, Inc. Message-Id: <1045196948.69226.32.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 13 Feb 2003 23:29:08 -0500 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,IN_REP_TO,MIME_LONG_LINE_QP,NOSPAM_INC,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, TO_BE_REMOVED_REPLY version=2.44 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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 >=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