summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--palm/palmos-sdk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/palm/palmos-sdk/Makefile b/palm/palmos-sdk/Makefile
index 3c781960ac05..80b45cb80f17 100644
--- a/palm/palmos-sdk/Makefile
+++ b/palm/palmos-sdk/Makefile
@@ -20,10 +20,16 @@ NO_BUILD= YES
INCDIR= ${PREFIX}/palmdev/sdk-3.5/include
LIBDIR= ${PREFIX}/palmdev/sdk-3.5/lib
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+IGNORE='You must manually fetch tarball from http://www.palmos.com/dev/tech/tools/ and place it in ${DISTDIR} then run make again.'
+.endif
+
do-install:
${MKDIR} ${INCDIR} ${LIBDIR}
${CP} -Rp ${WRKSRC}/Incs/* ${INCDIR}
${CP} -Rp ${WRKSRC}/GCC\ Libraries/* ${LIBDIR}
${CHOWN} -R root.wheel ${INCDIR} ${LIBDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>