mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix post-fetch to check if the distfiles were obtained via a different
path than HTTP.
This commit is contained in:
parent
9376a27543
commit
5cac6abd03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217404
1 changed files with 4 additions and 3 deletions
|
@ -33,9 +33,10 @@ PLIST_DIRS= share/examples/freenet6
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
post-fetch:
|
post-fetch:
|
||||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
||||||
${MV} ${DISTDIR}/file.asp*file_id*150* ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
${MV} ${DISTDIR}/file.asp*file_id*150* \
|
||||||
.endif
|
${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \
|
||||||
|
fi
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/gw6c ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/gw6c ${PREFIX}/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue