diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-02-04 22:38:59 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-02-04 22:38:59 +0000 |
commit | fffe3cae18b35dc16a763744fb9cafc8aa85f49d (patch) | |
tree | 01ef384b1741cec1a294f587e5bb3aa5a49d4d05 /x11/ocaml-graphics | |
parent | 17e539fdcb97aac368b3444dd5409b458dce1019 (diff) | |
download | pkgsrc-fffe3cae18b35dc16a763744fb9cafc8aa85f49d.tar.gz |
- Update of ocaml-graphics from 3.06 to 3.08.2
- Lots of changes/bugfixes - see Changes for all the details
Diffstat (limited to 'x11/ocaml-graphics')
-rw-r--r-- | x11/ocaml-graphics/Makefile | 12 | ||||
-rw-r--r-- | x11/ocaml-graphics/PLIST.stub | 3 | ||||
-rw-r--r-- | x11/ocaml-graphics/buildlink3.mk | 4 |
3 files changed, 16 insertions, 3 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile index f9b276b88b8..7a4715e055f 100644 --- a/x11/ocaml-graphics/Makefile +++ b/x11/ocaml-graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2005/02/04 22:38:59 adrianp Exp $ .include "../../lang/ocaml/Makefile.common" @@ -24,7 +24,17 @@ PLIST_SUBST+= OPT= PLIST_SUBST+= OPT='@comment ' .endif +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + +.if ${OPSYS} == "Darwin" +PLIST_SRC+= ${PKGDIR}/PLIST.stub +.endif + BUILDLINK_DEPMETHOD.ocaml= full .include "../../lang/ocaml/buildlink3.mk" + +post-build: + @${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC + .include "../../mk/bsd.pkg.mk" diff --git a/x11/ocaml-graphics/PLIST.stub b/x11/ocaml-graphics/PLIST.stub new file mode 100644 index 00000000000..015eadc7839 --- /dev/null +++ b/x11/ocaml-graphics/PLIST.stub @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST.stub,v 1.1 2005/02/04 22:38:59 adrianp Exp $ +lib/ocaml/stublibs/dllgraphics.so +@unexec ${RMDIR} %D/lib/ocaml/stublibs 2>/dev/null || ${TRUE} diff --git a/x11/ocaml-graphics/buildlink3.mk b/x11/ocaml-graphics/buildlink3.mk index 8a8c613896e..6d423e149ae 100644 --- a/x11/ocaml-graphics/buildlink3.mk +++ b/x11/ocaml-graphics/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2005/02/04 22:38:59 adrianp Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OCAML_GRAPHICS_BUILDLINK3_MK:= ${OCAML_GRAPHICS_BUILDLINK3_MK}+ @@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-graphics} BUILDLINK_PACKAGES+= ocaml-graphics .if !empty(OCAML_GRAPHICS_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.06 +BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.08.2 BUILDLINK_PKGSRCDIR.ocaml-graphics?= ../../x11/ocaml-graphics .endif # OCAML_GRAPHICS_BUILDLINK3_MK |