summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-08-24 22:32:34 +0000
committerwiz <wiz@pkgsrc.org>2000-08-24 22:32:34 +0000
commita11951fe0eaa857cce033f1a44dd8f64f6ba0c10 (patch)
tree5a350ddeb3136d87d7f70d39c868433b5f987d79 /lang/ocaml
parent158246b7f248a61dd10cd962b404599010ea01f3 (diff)
downloadpkgsrc-a11951fe0eaa857cce033f1a44dd8f64f6ba0c10.tar.gz
Move all compilation steps into the build phase.
Man pages for optimized binaries are installed unconditionally, so move them to the default PLIST.
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile4
-rw-r--r--lang/ocaml/pkg/PLIST4
-rw-r--r--lang/ocaml/pkg/PLIST.opt4
3 files changed, 6 insertions, 6 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 6c57c78276d..8107d7f4a6d 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/06/12 15:17:45 wulf Exp $
+# $NetBSD: Makefile,v 1.4 2000/08/24 22:32:34 wiz Exp $
#
DISTNAME= ocaml-3.00
@@ -16,7 +16,7 @@ CONFIGURE_ARGS+= -prefix ${LOCALBASE} -tklibs -L${LOCALBASE}/lib -tkdefs "-I${LO
ALL_TARGET= world
-pre-install:
+post-build:
if ${TEST} ${MACHINE_ARCH} = 'i386'; then \
cd ${WRKSRC}; \
${GMAKE} opt; \
diff --git a/lang/ocaml/pkg/PLIST b/lang/ocaml/pkg/PLIST
index 0c4827c15fa..d861e358a8c 100644
--- a/lang/ocaml/pkg/PLIST
+++ b/lang/ocaml/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2000/08/22 02:54:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2000/08/24 22:32:35 wiz Exp $
bin/labltk
bin/ocaml
bin/ocaml299to3
@@ -240,11 +240,13 @@ lib/ocaml/weak.ml
lib/ocaml/weak.mli
man/man1/ocaml.1
man/man1/ocamlc.1
+man/man1/ocamlc.opt.1
man/man1/ocamlcp.1
man/man1/ocamldep.1
man/man1/ocamllex.1
man/man1/ocamlmktop.1
man/man1/ocamlopt.1
+man/man1/ocamlopt.opt.1
man/man1/ocamlprof.1
man/man1/ocamlrun.1
man/man1/ocamlyacc.1
diff --git a/lang/ocaml/pkg/PLIST.opt b/lang/ocaml/pkg/PLIST.opt
index 268c0aa89fd..21101ebbaab 100644
--- a/lang/ocaml/pkg/PLIST.opt
+++ b/lang/ocaml/pkg/PLIST.opt
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.opt,v 1.3 2000/08/22 02:55:40 wiz Exp $
+@comment $NetBSD: PLIST.opt,v 1.4 2000/08/24 22:32:35 wiz Exp $
bin/ocamlopt
bin/ocamlc.opt
bin/ocamlopt.opt
@@ -108,5 +108,3 @@ lib/ocaml/unix.cmx
lib/ocaml/unix.cmxa
lib/ocaml/weak.cmx
lib/ocaml/weak.p.cmx
-man/man1/ocamlc.opt.1
-man/man1/ocamlopt.opt.1