I know this is not correct, but let's play:

do-install:
if [ $$(grep -c '%%QT_BINDIR%%' ${PORTSDIR}/cad/qcad/pkg-plist) -ne 0 ]; then ${REINPLACE_CMD} 's/\%\%QT_BINDIR\%\%/bin/g' ${PORTSDIR}/cad/qcad/pkg-plist;fi

(but this will replace all occurances of QT_BINDIR in pkg-plist, if necesairely of not. In the moment there are only two, but maybe it will different in the future)..
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to