summaryrefslogtreecommitdiff
path: root/www/jsdk20
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-25 04:17:35 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-25 04:17:35 +0000
commitd32e698de6a63cf0273391b498d5c8e2bc3ea265 (patch)
treef7733ee24f18b76cbeda1e577b4cec2485f4cf3e /www/jsdk20
parentb1fe99775bd942bbd05e584ba34834516831b04a (diff)
downloadpkgsrc-d32e698de6a63cf0273391b498d5c8e2bc3ea265.tar.gz
Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
Diffstat (limited to 'www/jsdk20')
-rw-r--r--www/jsdk20/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/www/jsdk20/Makefile b/www/jsdk20/Makefile
index 430c31ff01a..5f85f7c28ef 100644
--- a/www/jsdk20/Makefile
+++ b/www/jsdk20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/02/17 17:22:09 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2001/02/25 04:18:23 hubertf Exp $
# STOP! Don't update this to a later version of this software.
# The JSDK and Apache Jakarta projects have merged, making the
# jakarta-tomcat package the current version of this software.
@@ -37,12 +37,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
TEMPDIR?= /tmp
TEMPFILE!=echo ${TEMPDIR}/jsdk20.location.$$$$
-pre-fetch:
- if [ ! -x ${LOCALBASE}/bin/urlget ]; \
- then \
- ${ECHO} '==> Installing urlget to fetch jsdk20' ; \
- ${MAKE} ${MAKEFLAGS} install-build-depends ; \
- fi
+pre-fetch: install-build-depends
do-fetch:
-if [ ! -f ${DISTDIR}/${DISTFILES} ] ; \
@@ -60,13 +55,13 @@ do-fetch:
fi
do-install:
- ${MKDIR} ${PREFIX}/lib/java
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
${INSTALL_DATA} -c -m 644 ${WRKSRC}/lib/jsdk.jar ${PREFIX}/lib/java
- ${MKDIR} ${PREFIX}/share/doc/java/jsdk20
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jsdk20
cd ${WRKSRC}/doc ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/java/jsdk20 ; ${GTAR} pvxf - )
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/java/jsdk20
${INSTALL_DATA} -c -m 644 ${WRKSRC}/README ${PREFIX}/share/doc/java/jsdk20
- ${MKDIR} ${PREFIX}/share/examples/java/jsdk20
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/jsdk20
cd ${WRKSRC}/examples ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/examples/java/jsdk20 ; ${GTAR} pvxf - )
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/java/jsdk20