diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-02-09 10:42:17 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-02-09 10:42:17 +0000 |
commit | d13a3290d368e78f26cc9630804c1e953ee53388 (patch) | |
tree | e6abd8ab05d97ef0ee659fc7426ad5692b3706fd /emulators/stonx/Makefile | |
parent | Fix 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/Makefile | 10 |
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} |