From owner-freebsd-ports@FreeBSD.ORG Sun May 25 13:57:15 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 59F64DD3 for ; Sun, 25 May 2014 13:57:15 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1774B2235 for ; Sun, 25 May 2014 13:57:14 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WoYv7-00025R-7M for freebsd-ports@freebsd.org; Sun, 25 May 2014 15:57:01 +0200 Received: from p4fc544cb.dip0.t-ipconnect.de ([79.197.68.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2014 15:57:01 +0200 Received: from jumper99 by p4fc544cb.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2014 15:57:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: "Helmut Schneider" Subject: autoplist Date: Sun, 25 May 2014 13:56:47 +0000 (UTC) Lines: 49 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc544cb.dip0.t-ipconnect.de User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000008E X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 13:57:15 -0000 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