summaryrefslogtreecommitdiff
path: root/emulators/stonx/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-02-09 10:42:17 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-02-09 10:42:17 +0000
commitd13a3290d368e78f26cc9630804c1e953ee53388 (patch)
treee6abd8ab05d97ef0ee659fc7426ad5692b3706fd /emulators/stonx/Makefile
parentFix apache2 auto-detection, since apr is now conditional. (diff)
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/stonx/Makefile')
-rw-r--r--emulators/stonx/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 32547f6de8b4..50b668e35913 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}