summaryrefslogtreecommitdiff
path: root/devel/palmos-includes
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-29 07:56:59 +0000
committerjmc <jmc@pkgsrc.org>2003-03-29 07:56:59 +0000
commit9dd37e1f795e559c32bc824d91183fe85dbedddc (patch)
treeaea8bb5e6cf852d28a2d47397a04193db1d6e5e8 /devel/palmos-includes
parent1df4acb341329ec8b7529940251c7f201db2c436 (diff)
downloadpkgsrc-9dd37e1f795e559c32bc824d91183fe85dbedddc.tar.gz
Provide a do-extract rule that puts the 5.0 sdk into a subdir (as it used to
extract that way)
Diffstat (limited to 'devel/palmos-includes')
-rw-r--r--devel/palmos-includes/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/palmos-includes/Makefile b/devel/palmos-includes/Makefile
index e7098659283..9e426d76d25 100644
--- a/devel/palmos-includes/Makefile
+++ b/devel/palmos-includes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/10/15 23:08:59 dillo Exp $
+# $NetBSD: Makefile,v 1.5 2003/03/29 07:56:59 jmc Exp $
#
DISTNAME= sdk50-win
@@ -62,6 +62,17 @@ pre-fetch: install-depends
. endif
. endfor
+EXTRACT_NORMAL=sdk40-core.tar.gz sdk40upd1.tar.gz sdk35.tar.gz sdk35-update1.tar.gz sdk31a1.zip
+
+do-extract: ${WRKDIR}
+. for file in ${EXTRACT_NORMAL}
+ @extract_file="${DISTDIR}/${file}"; export extract_file; \
+ cd ${WRKDIR}; ${EXTRACT_CMD}
+. endfor
+ @extract_file="${DISTDIR}/sdk50-win.zip"; export extract_file; \
+ cd ${WRKDIR}; ${MKDIR} Palm_OS_5_SDK_dr12; cd Palm_OS_5_SDK_dr12; \
+ ${EXTRACT_CMD}
+
do-install:
${INSTALL_DATA_DIR} ${PALMDEV}
${INSTALL_DATA_DIR} ${DOCDIR}