From owner-freebsd-ports Sun Aug 25 4:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D42C37B400 for ; Sun, 25 Aug 2002 04:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E5943E72 for ; Sun, 25 Aug 2002 04:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7PBU3JU061101 for ; Sun, 25 Aug 2002 04:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7PBU3Ds061100; Sun, 25 Aug 2002 04:30:03 -0700 (PDT) Date: Sun, 25 Aug 2002 04:30:03 -0700 (PDT) Message-Id: <200208251130.g7PBU3Ds061100@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Dominic Marks Subject: Re: ports/41994: New Port: x11-fonts/artwiz-fonts Reply-To: Dominic Marks Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/41994; it has been noted by GNATS. From: Dominic Marks To: Alan E Cc: FreeBSD Bugs Subject: Re: ports/41994: New Port: x11-fonts/artwiz-fonts Date: Sun, 25 Aug 2002 12:22:42 +0100 On Sun, Aug 25, 2002 at 06:45:33AM -0400, Alan E wrote: > On Sun, Aug 25, 2002 at 10:54:58AM +0100, Dominic Marks wrote: > > > shar artwiz-fonts/* artwiz-fonts/files/* > artwiz-fonts.shar > > What you really want is: > > shar $(find artwiz-fonts) >artwiz-fonts.shar Okay. > I also had to make some changes regarding installation and the > pkg-message file. > > You should use ${INSTALL_DATA}, not ${CP} to install the font files. Yeah, thats sloppiness on my part, I've known about INSTALL_* for some time. > Also, you can't write outside of ${WRKDIR}. What if the user has the > ports dir NFS mounted read-only (like on the build clusters)? > > So you have to go through some clumsy crap to modify pkg-message: > > > PKGMESSAGE= ${WRKDIR}/pkg-message > > [then later] > > .include > > post-install: > @${SED} 's|$${X11BASE}|${X11BASE}|g' \ > ${PKGDIR}/pkg-message >${PKGMESSAGE} > @${CAT} ${PKGMESSAGE} > > .include > > [isn't that fun and intuitive?] Hah. Very. > The reason that's so weird is that you have to get X11BASE and PKGDIR > defined before you can do the sed, but bsd.port.mk checks for the > existence (using .if exists) of PKGMESSAGE in the post section or else > if won't include it in the package. Hence the PITA. > > I also cleaned up all the portlint warnings that were cleanable. Cheers! > -- > AlanE > KDE-FreeBSD Team (http://freebsd.kde.org/) -- Dominic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message