Subject: pkg/19805: jde-2.3.2 install fix
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 01/12/2003 09:02:40
>Number:         19805
>Category:       pkg
>Synopsis:       jde-2.3.2 fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 12 00:03:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marc Recht
>Release:        NetBSD 1.6_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD leeloo.intern.geht.de 1.6_STABLE NetBSD 1.6_STABLE (LEELOO) #0: Mon Jan 6 09:37:59 CET 2003 root@leeloo.intern.geht.de:/usr/src/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
jde 2.3.2 fails to install, because of pax. The last -s is interpreted as the destination directory.
Also the install target forgets to create ${PREFIX}/share/jde and ${PREFIX}/share/doc/jde.
	
>How-To-Repeat:
make install
	
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/editors/jde/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    2003/01/12 02:26:16     1.6
+++ Makefile    2003/01/12 07:55:30
@@ -33,13 +33,15 @@
        @${RMDIR} ${WRKDIR}/${DISTNAME}/java/classes
 
 do-install:
+       @${INSTALL_DATA_DIR} ${PREFIX}/share/jde
+       @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jde
        @${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/jde
        @cd ${WRKDIR}/${DISTNAME}/doc; \
-               ${PAX} -rw * ${PREFIX}/share/doc/jde -s',^src.*,,' \
-                       -s',.*\.nosearch.*,,'
+               ${PAX} -rw -s',^src.*,,' -s',.*\.nosearch.*,,' \
+                       * ${PREFIX}/share/doc/jde
        @cd ${WRKDIR}/${DISTNAME}; \
-               ${PAX} -rw java ${PREFIX}/share/jde -s',^java/classes.*,,' \
-                       -s',^java/src.*,,' -s',.*\.nosearch.*,,'
+               ${PAX} -rw -s',^java/classes.*,,' -s',^java/src.*,,' \
+                       -s',.*\.nosearch.*,,' java ${PREFIX}/share/jde
        @cd ${WRKDIR}/${DISTNAME}; \
                ${PAX} -rw lisp ${EMACS_LISPPREFIX}/jde

>Release-Note:
>Audit-Trail:
>Unformatted: