summaryrefslogtreecommitdiff
path: root/devel/pcre-ocaml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pcre-ocaml/Makefile')
-rw-r--r--devel/pcre-ocaml/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/pcre-ocaml/Makefile b/devel/pcre-ocaml/Makefile
index b95f89a50fa..789d58e0016 100644
--- a/devel/pcre-ocaml/Makefile
+++ b/devel/pcre-ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/01/18 09:59:59 tonio Exp $
+# $NetBSD: Makefile,v 1.4 2007/06/09 11:05:00 rillig Exp $
#
DISTNAME= pcre-ocaml-5.11.2
@@ -11,7 +11,16 @@ HOMEPAGE= http://www.ocaml.info/ocaml_sources/
COMMENT= Perl compatible regular expressions for OCaml
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+
+.include "../../mk/bsd.prefs.mk"
+
USE_TOOLS+= gmake
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
+ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
+PLIST_SRC= PLIST PLIST.opt
+.else
+BUILD_TARGET= byte
+.endif
EGDIR= ${PREFIX}/share/examples/pcre-ocaml
INSTALLATION_DIRS= ${EGDIR}