Don't install *.orig patch turds.

This commit is contained in:
Kris Kennaway 2003-01-13 01:12:49 +00:00
parent 1d51f294db
commit 0ea8d5b4c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72983

View File

@ -22,7 +22,7 @@ do-build:
do-install:
@${MKDIR} ${DATADIR}
(cd ${WRKSRC}; tar cf - .) | \
(cd ${DATADIR}; tar --unlink -xf -)
(cd ${DATADIR}; tar --exclude=\*.orig --unlink -xf -)
@printf "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/${PORTNAME}.py \"$$\@\"\n" > ${WRKDIR}/${PORTNAME}.sh
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}