summaryrefslogtreecommitdiff
path: root/lang/sr/Makefile
diff options
context:
space:
mode:
authoris <is>2005-02-25 15:54:58 +0000
committeris <is>2005-02-25 15:54:58 +0000
commit6bd14e256e3b2dc8f2e705ae638d85ecbcb78cb0 (patch)
treed64a7ca23c0808be1e203863128a081aede8f89a /lang/sr/Makefile
parent032739a8348c51db9f5093781085a8585ca32dc3 (diff)
downloadpkgsrc-6bd14e256e3b2dc8f2e705ae638d85ecbcb78cb0.tar.gz
This is the SR, a language for concurrent programming from the
University of Arizona, version 2.3.2. SR is described in "The SR Programming Language: Concurrency in Practice" by Gregory R. Andrews and Ronald A. Olsson (Benjamin/Cummings, 1993, ISBN 0-8053-0088-0).
Diffstat (limited to 'lang/sr/Makefile')
-rw-r--r--lang/sr/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
new file mode 100644
index 00000000000..b7bb1d9347b
--- /dev/null
+++ b/lang/sr/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/25 15:54:59 is Exp $
+#
+
+DISTNAME= sr
+PKGNAME= sr-2.3.2
+CATEGORIES= lang parallel
+MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= is@NetBSD.org
+HOMEPAGE= http://www.cs.arizona.edu/sr/
+COMMENT= The SR language compiler and run time system
+
+WRKSRC= ${WRKDIR}
+
+ONLY_FOR_PLATFORM= NetBSD-[2-9]*-*
+
+USE_X11= yes
+USE_BUILDLINK3= yes
+
+pre-configure:
+ ${MV} ${WRKSRC}/Configuration ${WRKSRC}/Configuration.template
+ ${SED} -e 's,_LOCALBASE_,${LOCALBASE},' \
+ -e 's,_WRKSRC_,${WRKSRC},' \
+ ${WRKSRC}/Configuration.template > ${WRKSRC}/Configuration
+
+pre-install:
+ -${MKDIR} ${LOCALBASE}/lib/sr
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sr
+ cd ${WRKSRC}/ps && \
+ ${INSTALL_DATA} *.ps ${PREFIX}/share/doc/sr
+
+.include "../../mk/bsd.pkg.mk"