summaryrefslogtreecommitdiff
path: root/lang/sr-examples
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-17 18:40:33 +0000
committerrillig <rillig@pkgsrc.org>2006-02-17 18:40:33 +0000
commiteb9e1def3bdc2fede52e9e2245f508511f6caabd (patch)
tree12ca1b6fa2b196017eee30fb8ed96d17608aeec7 /lang/sr-examples
parent720557d02a4ce3c763b7d8d0b709690e3e3c9a18 (diff)
downloadpkgsrc-eb9e1def3bdc2fede52e9e2245f508511f6caabd.tar.gz
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 (limited to 'lang/sr-examples')
-rw-r--r--lang/sr-examples/Makefile29
1 files changed, 11 insertions, 18 deletions
diff --git a/lang/sr-examples/Makefile b/lang/sr-examples/Makefile
index 4a55f131878..958f404f6f1 100644
--- a/lang/sr-examples/Makefile
+++ b/lang/sr-examples/Makefile
@@ -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 @@ MAINTAINER= is@NetBSD.org
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"