summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/ocaml-graphics/Makefile')
-rw-r--r--x11/ocaml-graphics/Makefile12
1 files changed, 11 insertions, 1 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"