summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-09 10:42:17 +0000
committerlinimon <linimon@FreeBSD.org>2004-02-09 10:42:17 +0000
commitb6a56540b211f28c52e6af62d7ac3d5a3e01a34c (patch)
treec72305e227f6fab0b5fe02cd1cd3b69765525584 /emulators
parent94a1a710b6d8d46c50ca0bca27b5bccd093ac034 (diff)
downloadFreeBSD-ports-b6a56540b211f28c52e6af62d7ac3d5a3e01a34c.zip
FreeBSD-ports-b6a56540b211f28c52e6af62d7ac3d5a3e01a34c.tar.gz
Bento fix: change from check of distfile existance in pre-fetch, to
canonical way of testing for distfile already existing. Should only affect bento, and not regular consumers of the port. Informed maintainer.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/stonx/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 32547f6..50b668e 100644
--- a/emulators/stonx/Makefile
+++ b/emulators/stonx/Makefile
@@ -20,12 +20,10 @@ TOSIMG= tos.img
USE_X_PREFIX= yes
HAS_CONFIGURE= yes
-pre-fetch:
- @if [ ! -f ${DISTDIR}/${TOSIMG} ]; then \
- ${ECHO} "Please get a ROM dump from your AtariST and"; \
- ${ECHO} "put it as \"${TOSIMG}\" in \"${DISTDIR}\" manually."; \
- exit 1; \
- fi
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE="Please get a ROM dump from your AtariST and save it as"\
+"\"${TOSIMG}\" in \"${DISTDIR}\" manually, and then make install again"
+.endif
pre-build:
${CP} ${DISTDIR}/tos.img ${WRKSRC}
OpenPOWER on IntegriCloud