Ports defying WRKDIRPREFIX

Mikhail Teterin mi+mx at aldan.algebra.com
Mon Aug 7 18:07:00 UTC 2006


понеділок 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


More information about the freebsd-ports mailing list