2021-04-24 11:41:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2021/04/24 09:41:23 wiz Exp $
|
2005-02-25 16:54:58 +01:00
|
|
|
|
2005-02-26 23:28:38 +01:00
|
|
|
DISTNAME= sr233
|
|
|
|
PKGNAME= sr-2.3.3
|
2018-04-18 10:42:16 +02:00
|
|
|
PKGREVISION= 10
|
2005-02-25 16:54:58 +01:00
|
|
|
CATEGORIES= lang parallel
|
2021-04-24 11:41:23 +02:00
|
|
|
#MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
|
2005-02-25 16:54:58 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
MAINTAINER= is@NetBSD.org
|
2021-04-24 11:41:23 +02:00
|
|
|
HOMEPAGE= http://www2.cs.arizona.edu/sr/index.html
|
2005-02-25 16:54:58 +01:00
|
|
|
COMMENT= The SR language compiler and run time system
|
|
|
|
|
2011-12-17 20:01:24 +01:00
|
|
|
NOT_FOR_PLATFORM= *-*-x86_64 # site: "doesn't run on 64-bit/AMD64"
|
2010-03-03 14:01:43 +01:00
|
|
|
|
2012-10-21 22:56:54 +02:00
|
|
|
CONFLICTS+= srm-[0-9]* clearsilver-base-[0-9]* netramet-[0-9]*
|
2012-10-05 19:17:04 +02:00
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2011-08-03 11:30:48 +02:00
|
|
|
USE_TOOLS+= yacc
|
|
|
|
|
2019-11-03 20:03:56 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
TEST_TARGET= verify
|
|
|
|
AUTO_MKDIRS= yes
|
2005-02-26 19:48:19 +01:00
|
|
|
|
2007-12-01 13:49:05 +01:00
|
|
|
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'
|
2005-02-25 16:54:58 +01:00
|
|
|
|
|
|
|
post-install:
|
2010-03-03 14:01:43 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${DESTDIR}${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${DESTDIR}${PREFIX}/share/doc/sr
|
2005-02-25 16:54:58 +01:00
|
|
|
|
2007-03-25 12:04:28 +02:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2005-02-25 16:54:58 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|