mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00: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
@ -33,9 +33,10 @@ PLIST_DIRS= share/examples/freenet6
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-fetch:
|
||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||
${MV} ${DISTDIR}/file.asp*file_id*150* ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
||||
.endif
|
||||
if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
|
||||
${MV} ${DISTDIR}/file.asp*file_id*150* \
|
||||
${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \
|
||||
fi
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/gw6c ${PREFIX}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user