| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.69 2020/01/18 23:32:45 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.70 2020/05/16 13:56:55 rillig Exp $ |
2 | | | 2 | |
3 | DISTNAME= sather-1.2.3 | | 3 | DISTNAME= sather-1.2.3 |
4 | PKGREVISION= 15 | | 4 | PKGREVISION= 15 |
5 | CATEGORIES= lang | | 5 | CATEGORIES= lang |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=sather/} | | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=sather/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.gnu.org/software/sather/ | | 9 | HOMEPAGE= https://www.gnu.org/software/sather/ |
10 | COMMENT= Compiler for the Sather object oriented programming language | | 10 | COMMENT= Compiler for the Sather object oriented programming language |
11 | #LICENSE= gnu-gpl-v3 gnu-lgpl-v3 | | 11 | #LICENSE= gnu-gpl-v3 gnu-lgpl-v3 |
12 | | | 12 | |
13 | MAKE_JOBS_SAFE= no | | 13 | MAKE_JOBS_SAFE= no |
14 | | | 14 | |
| @@ -39,26 +39,27 @@ SUBST_FILES.sather-configure= \ | | | @@ -39,26 +39,27 @@ SUBST_FILES.sather-configure= \ |
39 | Browser/Web/gen_mml_sa_files \ | | 39 | Browser/Web/gen_mml_sa_files \ |
40 | Browser/Web/gen_mml_shortflat \ | | 40 | Browser/Web/gen_mml_shortflat \ |
41 | Browser/Web/graph2dot | | 41 | Browser/Web/graph2dot |
42 | SUBST_VARS.sather-configure= CC | | 42 | SUBST_VARS.sather-configure= CC |
43 | SUBST_VARS.sather-configure+= CFLAGS | | 43 | SUBST_VARS.sather-configure+= CFLAGS |
44 | SUBST_VARS.sather-configure+= GMAKE | | 44 | SUBST_VARS.sather-configure+= GMAKE |
45 | SUBST_VARS.sather-configure+= PREFIX | | 45 | SUBST_VARS.sather-configure+= PREFIX |
46 | SUBST_VARS.sather-configure+= X11BASE | | 46 | SUBST_VARS.sather-configure+= X11BASE |
47 | SUBST_SED.sather-configure+= -e s:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g | | 47 | SUBST_SED.sather-configure+= -e s:@GC_PREFIX@:${BUILDLINK_PREFIX.boehm-gc}:g |
48 | SUBST_SED.sather-configure+= -e s:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g | | 48 | SUBST_SED.sather-configure+= -e s:@TCL_PREFIX@:${BUILDLINK_PREFIX.tcl}:g |
49 | SUBST_SED.sather-configure+= -e s:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g | | 49 | SUBST_SED.sather-configure+= -e s:@TK_PREFIX@:${BUILDLINK_PREFIX.tk}:g |
50 | SUBST_VARS.sather-configure+= LINKER_RPATH_FLAG | | 50 | SUBST_VARS.sather-configure+= LINKER_RPATH_FLAG |
51 | SUBST_VARS.sather-configure+= COMPILER_RPATH_FLAG | | 51 | SUBST_VARS.sather-configure+= COMPILER_RPATH_FLAG |
| | | 52 | SUBST_NOOP_OK.sather-configure= yes # because of ${LOWER_OPSYS} |
52 | | | 53 | |
53 | INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/sather \ | | 54 | INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 share/doc/sather \ |
54 | lib/sather lib/sather/Bin share/emacs/site-lisp | | 55 | lib/sather lib/sather/Bin share/emacs/site-lisp |
55 | | | 56 | |
56 | post-patch: | | 57 | post-patch: |
57 | ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly | | 58 | ln -s netbsd ${WRKSRC}/System/Platforms/dragonfly |
58 | ln -s netbsd ${WRKSRC}/System/Platforms/darwin | | 59 | ln -s netbsd ${WRKSRC}/System/Platforms/darwin |
59 | | | 60 | |
60 | post-build: | | 61 | post-build: |
61 | cd ${WRKSRC}/Emacs && \ | | 62 | cd ${WRKSRC}/Emacs && \ |
62 | makeinfo sather.texinfo && \ | | 63 | makeinfo sather.texinfo && \ |
63 | makeinfo sather-tutorial.texinfo && \ | | 64 | makeinfo sather-tutorial.texinfo && \ |
64 | makeinfo sather-mode.texinfo | | 65 | makeinfo sather-mode.texinfo |