Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2006 14:06:23 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ports defying WRKDIRPREFIX
Message-ID:  <200608071406.23524.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <20060807120036.D181216A59D@hub.freebsd.org>
References:  <20060807120036.D181216A59D@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
понед╕лок 07 серпень 2006, Thierry Thomas написав:
> @${CAT} ${PKGMESSAGE}
> should be sufficient.

Something like

	${SED} -e 's,/usr/local,${LOCALBASE},g' \
	    -e 's,/usr/X11R6,${X11BASE},g' ${PKGMESSAGE} | ${FMT}

should probably be done automatically by the bsd.port.mk itself, IMO.

Note, that it allows the pkg-message to be readable for the most common cases, 
yet correct, when the bases are different...

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608071406.23524.mi%2Bmx>