pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xt Explicitly require unzip and pax.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec86e0b7594c
branches:  trunk
changeset: 518839:ec86e0b7594c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Sep 19 21:13:12 2006 +0000

description:
Explicitly require unzip and pax.

diffstat:

 textproc/xt/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 6193f837dc37 -r ec86e0b7594c textproc/xt/Makefile
--- a/textproc/xt/Makefile      Tue Sep 19 20:59:30 2006 +0000
+++ b/textproc/xt/Makefile      Tue Sep 19 21:13:12 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/02/05 23:11:08 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2006/09/19 21:13:12 joerg Exp $
 #
 
 DISTNAME=      xt
@@ -16,11 +16,12 @@
 
 EXTRACT_ONLY=  # empty
 USE_JAVA=      run
+USE_TOOLS+=    unzip pax
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 
 post-extract:
-       cd ${WRKDIR} && ${LOCALBASE}/bin/unzip -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+       cd ${WRKDIR} && unzip -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
 
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
@@ -30,7 +31,7 @@
        ${INSTALL_DATA} -c ${WRKDIR}/copying.txt ${PREFIX}/share/doc/java/xt
        ${INSTALL_DATA} -c ${WRKDIR}/xt.htm ${PREFIX}/share/doc/java/xt
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/xt
-       cd ${WRKDIR}/demo && ${PAX} -rw -pp . ${PREFIX}/share/examples/java/xt
+       cd ${WRKDIR}/demo && pax -rw -pp . ${PREFIX}/share/examples/java/xt
 
 .include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index