1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Remove checksum target, which is no longer needed and causes "make

index" to generate a warning message (requested by kris).
This commit is contained in:
Trevor Johnson 2004-01-22 09:02:09 +00:00
parent 4032f42aee
commit 0761b45da2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98765
2 changed files with 0 additions and 62 deletions

View File

@ -65,37 +65,6 @@ DISTFILES= browser.xpi \
DISTFILES!= ${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/xpi/components.conf DISTFILES!= ${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/xpi/components.conf
.endif .endif
checksum:
.if !defined(REAL_EXTRACT)
@cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} fetch
.endif
@if [ ! -f ${MD5_FILE} ]; then \
${ECHO_MSG} ">> No MD5 checksum file."; \
else \
(cd ${DISTDIR}; OK="true"; \
for file in ${_CKSUMFILES}; do \
if [ -r $$file ]; then \
CKSUM=`${MD5} < $$file`; \
CKSUM2=`${GREP} "^MD5 ($$file)" ${MD5_FILE} | ${AWK} '{print $$4}'`; \
if [ "$$CKSUM2" = "" ]; then \
${ECHO_MSG} ">> No checksum recorded for $$file."; \
OK="false"; \
elif ${EXPR} "$$CKSUM2" : ".*$$CKSUM" > /dev/null; then \
${ECHO_MSG} ">> Checksum OK for $$file."; \
else \
${ECHO_MSG} ">> Checksum mismatch for $$file."; \
OK="false"; \
fi; \
fi; \
done; \
if [ "$$OK" != "true" ]; then \
${ECHO_MSG} "Make sure the Makefile and distinfo file (${MD5_FILE})"; \
${ECHO_MSG} "are up to date. If you are absolutely sure you want to override this"; \
${ECHO_MSG} "check, type \"make NO_CHECKSUM=yes [other args]\"."; \
exit 1; \
fi) ; \
fi
do-extract: do-extract:
${MKDIR} ${WRKSRC} ${MKDIR} ${WRKSRC}
.for i in ${DISTFILES} .for i in ${DISTFILES}

View File

@ -63,37 +63,6 @@ DISTFILES= browser.xpi \
DISTFILES!= ${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/xpi/components.conf DISTFILES!= ${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/xpi/components.conf
.endif .endif
checksum:
.if !defined(REAL_EXTRACT)
@cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} fetch
.endif
@if [ ! -f ${MD5_FILE} ]; then \
${ECHO_MSG} ">> No MD5 checksum file."; \
else \
(cd ${DISTDIR}; OK="true"; \
for file in ${_CKSUMFILES}; do \
if [ -r $$file ]; then \
CKSUM=`${MD5} < $$file`; \
CKSUM2=`${GREP} "^MD5 ($$file)" ${MD5_FILE} | ${AWK} '{print $$4}'`; \
if [ "$$CKSUM2" = "" ]; then \
${ECHO_MSG} ">> No checksum recorded for $$file."; \
OK="false"; \
elif ${EXPR} "$$CKSUM2" : ".*$$CKSUM" > /dev/null; then \
${ECHO_MSG} ">> Checksum OK for $$file."; \
else \
${ECHO_MSG} ">> Checksum mismatch for $$file."; \
OK="false"; \
fi; \
fi; \
done; \
if [ "$$OK" != "true" ]; then \
${ECHO_MSG} "Make sure the Makefile and distinfo file (${MD5_FILE})"; \
${ECHO_MSG} "are up to date. If you are absolutely sure you want to override this"; \
${ECHO_MSG} "check, type \"make NO_CHECKSUM=yes [other args]\"."; \
exit 1; \
fi) ; \
fi
do-extract: do-extract:
${MKDIR} ${WRKSRC} ${MKDIR} ${WRKSRC}
.for i in ${DISTFILES} .for i in ${DISTFILES}