[Bug 210110] cad/qcad remove wrongly used PLIST_SUB from pkg-plist

Walter Schwarzenfeld w.schwarzenfeld at utanet.at
Thu Jun 9 14:51:29 UTC 2016


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)..


More information about the freebsd-ports mailing list