blob: 382b565804eaada36eceb5471c68f8a292cc3717 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.11 2005/04/11 21:46:16 tv Exp $
#
DISTNAME= sr233
PKGNAME= sr-2.3.3
PKGREVISION= 6
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
TEST_TARGET= verify
pre-configure:
${MV} ${WRKSRC}/Configuration \
${WRKSRC}/Configuration.template
${SED} -e 's,_LOCALBASE_,${LOCALBASE},g' \
-e 's,_WRKSRC_,${WRKSRC},g' \
-e 's,_XINC_,${X11BASE}/include,g' \
-e 's,_XLIB_,${X11BASE}/lib,g' \
${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"
|