pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/sr-examples pax(1), like tar(1), likes to strip l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12ce0f94e0c3
branches:  trunk
changeset: 508285:12ce0f94e0c3
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Feb 17 18:40:33 2006 +0000

description:
pax(1), like tar(1), likes to strip leading slashes from pathnames. So the
better way is to change to the destination directory first and to extract
the files there. Removed BROKEN_IN, bumped PKGREVISION.

diffstat:

 lang/sr-examples/Makefile |  29 +++++++++++------------------
 1 files changed, 11 insertions(+), 18 deletions(-)

diffs (52 lines):

diff -r 7f6d2cae90c8 -r 12ce0f94e0c3 lang/sr-examples/Makefile
--- a/lang/sr-examples/Makefile Fri Feb 17 18:35:34 2006 +0000
+++ b/lang/sr-examples/Makefile Fri Feb 17 18:40:33 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2006/01/04 04:29:07 schmonz Exp $
+# $NetBSD: Makefile,v 1.7 2006/02/17 18:40:33 rillig Exp $
 #
 
 DISTNAME=              vs233
 PKGNAME=               sr-examples-2.3.3
+PKGREVISION=           1
 CATEGORIES=            lang parallel
 MASTER_SITES=          ftp://ftp.cs.arizona.edu/sr/
 EXTRACT_SUFX=          .tar.Z
@@ -11,28 +12,20 @@
 HOMEPAGE=              http://www.cs.arizona.edu/sr/
 COMMENT=               The SR language compiler and run time system
 
-BROKEN_IN=             pkgsrc-2005Q4
-
-WRKSRC= ${WRKDIR}
-
-ONLY_FOR_PLATFORM=     NetBSD-*-*
+WRKSRC=                        ${WRKDIR}
+NO_EXTRACT=            yes
+NO_CONFIGURE=          yes
+NO_BUILD=              yes
 
 ### Use the second line below for installing if you want to make print-PLIST!
 DOMOD=
 #DOMOD=-pm
 
-do-extract:
-
-do-configure:
-
-do-patch:
-
-do-build:
-
 do-install:
-                       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sr
-                       ${PAX} -zr ${DOMOD} -f ${DISTDIR}/${DISTFILES} \
-                         -s ,vsuite/examples,${PREFIX}/share/examples/sr, \
-                         vsuite/examples
+       ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/sr
+       cd ${PREFIX:Q}/share/examples/sr &&                             \
+       ${PAX} -zr ${DOMOD} -f ${DISTDIR:Q}/${DISTFILES:Q}                      \
+               -s ,vsuite/examples,.,                                  \
+               vsuite/examples
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index