aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-camlp4
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-05-04 15:34:19 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-05-04 15:34:19 +0000
commitae7699ae209fd3cb75ca67fca36ee63c440ae885 (patch)
treee77eb7ce163fc86c20118104e8e879e542c34714 /devel/ocaml-camlp4
parent6fa91934354bf6f9cfca7f2f3a3a0781382abc74 (diff)
downloadports-ae7699ae209fd3cb75ca67fca36ee63c440ae885.tar.gz
ports-ae7699ae209fd3cb75ca67fca36ee63c440ae885.zip
Install META file, needed by the ports using ocaml-findlib.
While here, use USE_OCAML. PR: 199895 Submitted by: me Approved By: portmgr (blanket for modernization)
Notes
Notes: svn path=/head/; revision=385411
Diffstat (limited to 'devel/ocaml-camlp4')
-rw-r--r--devel/ocaml-camlp4/Makefile6
-rw-r--r--devel/ocaml-camlp4/pkg-plist1
2 files changed, 5 insertions, 2 deletions
diff --git a/devel/ocaml-camlp4/Makefile b/devel/ocaml-camlp4/Makefile
index 8ab8567e9008..15b5745b6206 100644
--- a/devel/ocaml-camlp4/Makefile
+++ b/devel/ocaml-camlp4/Makefile
@@ -3,6 +3,7 @@
PORTNAME= camlp4
PORTVERSION= 4.02.1+1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GH
PKGNAMEPREFIX= ocaml-
@@ -12,16 +13,17 @@ COMMENT= Camlp4 is a system for writing extensible parsers for OCaml
LICENSE= LGPL20
-BUILD_DEPENDS= ${LOCALBASE}/bin/ocamlc:${PORTSDIR}/lang/ocaml
-
USE_GITHUB= yes
GH_ACCOUNT= ocaml
GH_TAGNAME= bdd88a1
USES= gmake
+USE_OCAML= yes
HAS_CONFIGURE= yes
MAKE_ENV+= DESTDIR="${STAGEDIR}"
MAKE_JOBS_UNSAFE=yes
+ALL_TARGET= all camlp4/META
+INSTALL_TARGET= install install-META
post-stage:
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
diff --git a/devel/ocaml-camlp4/pkg-plist b/devel/ocaml-camlp4/pkg-plist
index f6740d68a1bf..d410d40df585 100644
--- a/devel/ocaml-camlp4/pkg-plist
+++ b/devel/ocaml-camlp4/pkg-plist
@@ -158,3 +158,4 @@ lib/ocaml/camlp4/camlp4prof.cmx
lib/ocaml/camlp4/camlp4prof.o
lib/ocaml/camlp4/camlp4r.cma
lib/ocaml/camlp4/camlp4rf.cma
+lib/ocaml/camlp4/META