Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / sr / Makefile
blob2371af017389a6260b419d6847dd478c1fd198b2
1 # $NetBSD: Makefile,v 1.23 2012/10/05 17:17:04 cheusov Exp $
4 DISTNAME= sr233
5 PKGNAME= sr-2.3.3
6 PKGREVISION= 9
7 CATEGORIES= lang parallel
8 MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
9 EXTRACT_SUFX= .tar.Z
11 MAINTAINER= is@NetBSD.org
12 HOMEPAGE= http://www.cs.arizona.edu/sr/
13 COMMENT= The SR language compiler and run time system
15 NOT_FOR_PLATFORM= *-*-x86_64 # site: "doesn't run on 64-bit/AMD64"
17 CONFLICTS+= srm-[0-9]* clearsilver-base-[0-9]* netramet-[0-9]*
19 MAKE_JOBS_SAFE= no
21 USE_TOOLS+= yacc
23 WRKSRC= ${WRKDIR}
24 TEST_TARGET= verify
25 AUTO_MKDIRS= yes
27 SUBST_CLASSES+= sr
28 SUBST_STAGE.sr= pre-configure
29 SUBST_FILES.sr= Configuration
30 SUBST_SED.sr= -e 's,_LOCALBASE_,${LOCALBASE},g'
31 SUBST_SED.sr+= -e 's,_WRKSRC_,${WRKSRC},g'
32 SUBST_SED.sr+= -e 's,_XINC_,${X11BASE}/include,g'
33 SUBST_SED.sr+= -e 's,_XLIB_,${X11BASE}/lib,g'
35 post-install:
36 ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${DESTDIR}${PREFIX}/bin
37 cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${DESTDIR}${PREFIX}/share/doc/sr
39 .include "../../x11/libX11/buildlink3.mk"
40 .include "../../mk/bsd.pkg.mk"