diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-10 23:21:55 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-10 23:21:55 +0800 |
commit | a48f1b79f23a6ba17ac129896a29f9252a18d036 (patch) | |
tree | 627600a2326a03751b1b764f8df75650b9ac3e71 /devel | |
parent | 0f57a8280fb9fd252c74922263bd704f0f9a19a1 (diff) | |
download | freebsd-ports-gnome-a48f1b79f23a6ba17ac129896a29f9252a18d036.tar.gz freebsd-ports-gnome-a48f1b79f23a6ba17ac129896a29f9252a18d036.tar.zst freebsd-ports-gnome-a48f1b79f23a6ba17ac129896a29f9252a18d036.zip |
Stagify.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-camljava/Makefile | 7 | ||||
-rw-r--r-- | devel/ocaml-camljava/files/patch-lib-Makefile | 15 |
2 files changed, 15 insertions, 7 deletions
diff --git a/devel/ocaml-camljava/Makefile b/devel/ocaml-camljava/Makefile index f6f3b05ddb44..c64d13b49d48 100644 --- a/devel/ocaml-camljava/Makefile +++ b/devel/ocaml-camljava/Makefile @@ -15,7 +15,6 @@ USE_OCAML= yes USE_JAVA= yes JAVA_VERSION= 1.6+ -NO_STAGE= yes .include <bsd.port.pre.mk> post-extract: @@ -32,12 +31,6 @@ post-extract: -e "/^install/,/^$$/s,\([ \t]*\)cp,\1${INSTALL_DATA},g" \ ${WRKSRC}/lib/Makefile -pre-install: -.if !exists(${PREFIX}/lib/ocaml) - ${MKDIR} ${PREFIX}/lib/ocaml - @${ECHO_CMD} "@dirrm lib/ocaml" >> ${TMPPLIST} -.endif - test: @${ECHO_CMD} "Testing IDL library" cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE} all diff --git a/devel/ocaml-camljava/files/patch-lib-Makefile b/devel/ocaml-camljava/files/patch-lib-Makefile new file mode 100644 index 000000000000..6cc9d7b7ca4d --- /dev/null +++ b/devel/ocaml-camljava/files/patch-lib-Makefile @@ -0,0 +1,15 @@ +--- lib/Makefile.orig 2014-07-10 23:17:16.801237680 +0800 ++++ lib/Makefile 2014-07-10 23:17:43.641231560 +0800 +@@ -9,9 +9,9 @@ CAMLJAVALIB=$(OCAMLLIB)/camljava + all: jni.cma jni.cmxa javaclasses + + install: +- mkdir -p $(CAMLJAVALIB) +- install -o root -g wheel -m 444 jni.cma jni.cmi jni.cmxa jni.a libcamljni.a jni.mli $(CAMLJAVALIB) +- jar cf $(CAMLJAVALIB)/camljava.jar fr/inria/caml/camljava/*.class ++ mkdir -p $(DESTDIR)$(CAMLJAVALIB) ++ install -o root -g wheel -m 444 jni.cma jni.cmi jni.cmxa jni.a libcamljni.a jni.mli $(DESTDIR)$(CAMLJAVALIB) ++ jar cf $(DESTDIR)$(CAMLJAVALIB)/camljava.jar fr/inria/caml/camljava/*.class + + jni.cma: jni.cmo libcamljni.a + $(OCAMLC) -linkall -a -o jni.cma -custom jni.cmo \ |