summaryrefslogtreecommitdiff
path: root/lang/sr/Makefile
blob: e52eb71b23b08ee81cf1343dae3666ca739f2e19 (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
# $NetBSD: Makefile,v 1.19 2010/03/03 13:01:43 is Exp $
#

DISTNAME=		sr233
PKGNAME=		sr-2.3.3
PKGREVISION=		7
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

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=		no

WRKSRC= ${WRKDIR}
TEST_TARGET=		verify
AUTO_MKDIRS=		yes

SUBST_CLASSES+=		sr
SUBST_STAGE.sr=		pre-configure
SUBST_FILES.sr=		Configuration
SUBST_SED.sr=		-e 's,_LOCALBASE_,${LOCALBASE},g'
SUBST_SED.sr+=		-e 's,_WRKSRC_,${WRKSRC},g'
SUBST_SED.sr+=		-e 's,_XINC_,${X11BASE}/include,g'
SUBST_SED.sr+=		-e 's,_XLIB_,${X11BASE}/lib,g'

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${DESTDIR}${PREFIX}/share/doc/sr

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"