aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-05-04 23:34:19 +0800
committermadpilot <madpilot@FreeBSD.org>2015-05-04 23:34:19 +0800
commit1a700885754dbf0412178214115b98778f63ea7b (patch)
treee77eb7ce163fc86c20118104e8e879e542c34714
parent5eede0ec4a0fc0d18965b05754a18bb5242051a8 (diff)
downloadfreebsd-ports-gnome-1a700885754dbf0412178214115b98778f63ea7b.tar.gz
freebsd-ports-gnome-1a700885754dbf0412178214115b98778f63ea7b.tar.zst
freebsd-ports-gnome-1a700885754dbf0412178214115b98778f63ea7b.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)
-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