1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Fix PLIST by making sure that all patched files backups are removed before

COPYTREE_SHARE'ing into target directory

Reported by:   PH (via pav)
This commit is contained in:
Pietro Cerutti 2011-04-14 09:49:36 +00:00
parent 9adc3b5a10
commit 743b002be1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272716

View File

@ -31,8 +31,8 @@ post-patch:
${WRKSRC}/etc/netbeans.conf
@${REINPLACE_CMD} -i "" -e 's|%%GCONFTOOL2%%|${LOCALBASE}/bin/gconftool-2|g; \
s|%%GREP%%|${GREP}|g;s|%%SED%%|${SED}|g;s|%%FGREP%%|`which fgrep`|g;s|%%AWK%%|${AWK}|g' \
${WRKSRC}/platform/lib/nbexec && \
${RM} ${WRKSRC}/platform/lib/nbexec.orig
${WRKSRC}/platform/lib/nbexec
@${FIND} ${WRKSRC} -name "*.orig" -delete
do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})