| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.54 2021/04/21 11:41:29 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.55 2021/07/19 10:43:05 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= ocamlgraph-1.8.8 | | 3 | DISTNAME= ocamlgraph-1.8.8 |
4 | PKGREVISION= 30 | | 4 | PKGREVISION= 30 |
5 | CATEGORIES= devel | | 5 | CATEGORIES= devel |
6 | MASTER_SITES= http://ocamlgraph.lri.fr/download/ | | 6 | MASTER_SITES= http://ocamlgraph.lri.fr/download/ |
7 | | | 7 | |
8 | MAINTAINER= jaapb@NetBSD.org | | 8 | MAINTAINER= jaapb@NetBSD.org |
9 | HOMEPAGE= http://ocamlgraph.lri.fr/ | | 9 | HOMEPAGE= http://ocamlgraph.lri.fr/ |
10 | COMMENT= Graph library for OCaml | | 10 | COMMENT= Graph library for OCaml |
11 | LICENSE= gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-lgpl-v2.1 |
12 | | | 12 | |
13 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
14 | USE_TOOLS+= gmake | | 14 | USE_TOOLS+= gmake |
| @@ -23,19 +23,19 @@ MAKE_ENV+= USE_LABLGTK="${USE_LABLGTK}" | | | @@ -23,19 +23,19 @@ MAKE_ENV+= USE_LABLGTK="${USE_LABLGTK}" |
23 | | | 23 | |
24 | .if ${OCAML_USE_OPT_COMPILER} == "yes" | | 24 | .if ${OCAML_USE_OPT_COMPILER} == "yes" |
25 | MAKE_ENV+= OCAMLBEST="opt" | | 25 | MAKE_ENV+= OCAMLBEST="opt" |
26 | .else | | 26 | .else |
27 | MAKE_ENV+= OCAMLBEST="byte" | | 27 | MAKE_ENV+= OCAMLBEST="byte" |
28 | .endif | | 28 | .endif |
29 | | | 29 | |
30 | post-install: | | 30 | post-install: |
31 | .if ${USE_LABLGTK} == "yes" | | 31 | .if ${USE_LABLGTK} == "yes" |
32 | . if ${OCAML_USE_OPT_COMPILER} == "yes" | | 32 | . if ${OCAML_USE_OPT_COMPILER} == "yes" |
33 | ${INSTALL_PROGRAM} ${WRKSRC}/editor/editor.opt ${DESTDIR}${PREFIX}/bin/graph-editor | | 33 | ${INSTALL_PROGRAM} ${WRKSRC}/editor/editor.opt ${DESTDIR}${PREFIX}/bin/graph-editor |
34 | ${INSTALL_PROGRAM} ${WRKSRC}/dgraph/dgraph.opt ${DESTDIR}${PREFIX}/bin/graph-viewer | | 34 | ${INSTALL_PROGRAM} ${WRKSRC}/dgraph/dgraph.opt ${DESTDIR}${PREFIX}/bin/graph-viewer |
35 | . else | | 35 | . else |
36 | ${INSTALL_PROGRAM} ${WKRSRC}/editor/editor.byte ${DESTDIR}${PREFIX}/bin/graph-editor | | 36 | ${INSTALL_PROGRAM} ${WRKSRC}/editor/editor.byte ${DESTDIR}${PREFIX}/bin/graph-editor |
37 | ${INSTALL_PROGRAM} ${WKRSRC}/dgraph/dgraph.byte ${DESTDIR}${PREFIX}/bin/graph-viewer | | 37 | ${INSTALL_PROGRAM} ${WRKSRC}/dgraph/dgraph.byte ${DESTDIR}${PREFIX}/bin/graph-viewer |
38 | . endif | | 38 | . endif |
39 | .endif | | 39 | .endif |
40 | | | 40 | |
41 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |