autoplist
Helmut Schneider
jumper99 at gmx.de
Sun May 25 13:57:15 UTC 2014
Hi,
I'm trying to replace my pkg-plist (www/typo3*, 12k lines) with
autoplist.
do-install:
${MKDIR}
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}
${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/
${LN} -fs ../${TYPO3SRC}
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/typo3_src
${LN} -fs typo3_src/index.php
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/index.php
${LN} -fs typo3_src/typo3
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/typo3
${CP} ${WRKDIR}/${TYPO3SRC}/_.htaccess
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}/.h
taccess
${CHOWN} -R ${WWWOWN}:${WWWGRP}
${STAGEDIR}${PREFIX}/${TYPO3WWW}/${PORTNAME}-${TYPO3RELEASE}
post-install:
# cd ${STAGEDIR}${PREFIX}/${TYPO3WWW}
@${FIND} ${STAGEDIR}${PREFIX}/${TYPO3WWW} \( -type f -or -type
l \) | \
${SED} -ne 's#^${WRKSRC}#${TYPO3WWW}#p' | ${SORT} >>
${TMPPLIST}
@${FIND} ${STAGEDIR}${PREFIX}/${TYPO3WWW} -type d | \
${SED} -ne 's#^${WRKSRC}#@dirrm ${TYPO3WWW}#p' |
${SORT} >> ${TMPPLIST}
# @${FIND} * \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST}
# @${FIND} * -type d | ${SORT} | \
# ${SED} -ne 's#^#@dirrm #p' | >> ${TMPPLIST}
Unfortunately it doesn't work, either nothing is installed, or:
[...]
pkg-static:
lstat(/usr/ports/www/typo3-lts/work/stage/typo3_src-6.2.3/typo3/sysext/w
orkspaces/Tests/Functional/Service/): No such file or directory
pkg-static:
lstat(/usr/ports/www/typo3-lts/work/stage/typo3_src-6.2.3/typo3/sysext/w
orkspaces/Tests/Functional/Service/Fixtures/): No such file or directory
[...]
I tried so many things without success, could anyone please point me to
the right direction?
Thanks, Helmut
More information about the freebsd-ports
mailing list