summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'x11/ocaml-graphics')
-rw-r--r--x11/ocaml-graphics/DESCR1
-rw-r--r--x11/ocaml-graphics/Makefile45
-rw-r--r--x11/ocaml-graphics/PLIST10
-rw-r--r--x11/ocaml-graphics/PLIST.stub3
-rw-r--r--x11/ocaml-graphics/buildlink3.mk20
5 files changed, 0 insertions, 79 deletions
diff --git a/x11/ocaml-graphics/DESCR b/x11/ocaml-graphics/DESCR
deleted file mode 100644
index f8d71e9a51e..00000000000
--- a/x11/ocaml-graphics/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-This package provides the graphics library that comes with the ocaml compiler.
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
deleted file mode 100644
index 76b2b45eb46..00000000000
--- a/x11/ocaml-graphics/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# $NetBSD: Makefile,v 1.4 2005/06/01 18:03:30 jlam Exp $
-
-.include "../../lang/ocaml/Makefile.common"
-
-PKGNAME= ${DISTNAME:S/ocaml/ocaml-graphics/}
-
-COMMENT+= (graphics library)
-
-CONFIGURE_ARGS+= -x11include ${X11BASE}/include
-CONFIGURE_ARGS+= -x11lib ${X11BASE}/lib
-CONFIGURE_ARGS+= -no-tk
-
-BUILD_DIRS= ${WRKSRC}/otherlibs/graph
-BUILD_TARGET= all
-INSTALL_TARGET= install
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "sparc")
-BUILD_TARGET+= allopt
-INSTALL_TARGET+= installopt
-PLIST_SUBST+= OPT=
-.else
-PLIST_SUBST+= OPT='@comment '
-.endif
-
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
-
-.if ${OPSYS} == "Darwin"
-PLIST_SRC+= ${PKGDIR}/PLIST.stub
-.endif
-
-BUILDLINK_DEPMETHOD.ocaml= full
-
-SUBST_CLASSES+= depend
-SUBST_STAGE.depend= post-patch
-SUBST_FILES.depend= otherlibs/graph/.depend
-SUBST_SED.depend= -e 's,/usr/X11R6,${X11BASE},g'
-SUBST_MESSAGE.depend= "Fixing .depend in otherlibs/graph"
-
-.include "../../lang/ocaml/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
-
-post-build:
- @${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/x11/ocaml-graphics/PLIST b/x11/ocaml-graphics/PLIST
deleted file mode 100644
index da4a156fba7..00000000000
--- a/x11/ocaml-graphics/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $
-lib/ocaml/graphics.a
-lib/ocaml/graphics.cma
-lib/ocaml/graphics.cmi
-${OPT}lib/ocaml/graphics.cmxa
-lib/ocaml/graphics.mli
-lib/ocaml/graphicsX11.cmi
-lib/ocaml/graphicsX11.mli
-lib/ocaml/libgraphics.a
-@comment in ocaml: @dirrm lib/ocaml
diff --git a/x11/ocaml-graphics/PLIST.stub b/x11/ocaml-graphics/PLIST.stub
deleted file mode 100644
index 015eadc7839..00000000000
--- a/x11/ocaml-graphics/PLIST.stub
+++ /dev/null
@@ -1,3 +0,0 @@
-@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
deleted file mode 100644
index 6d423e149ae..00000000000
--- a/x11/ocaml-graphics/buildlink3.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-# $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}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= ocaml-graphics
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-graphics}
-BUILDLINK_PACKAGES+= ocaml-graphics
-
-.if !empty(OCAML_GRAPHICS_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.08.2
-BUILDLINK_PKGSRCDIR.ocaml-graphics?= ../../x11/ocaml-graphics
-.endif # OCAML_GRAPHICS_BUILDLINK3_MK
-
-.include "../../lang/ocaml/buildlink3.mk"
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}