blob: 5dc4d5b4a8ea7be9a66de1d156012d80d84abb80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= camlp4
PORTVERSION= 4.14+1
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= System for writing extensible parsers for OCaml
WWW= https://github.com/ocaml/camlp4
LICENSE= LGPL20
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
USES= gmake ocaml
USE_GITHUB= yes
GH_ACCOUNT= ocaml
HAS_CONFIGURE= yes
MAKE_ENV+= DESTDIR="${STAGEDIR}"
MAKE_JOBS_UNSAFE=yes
ALL_TARGET= all camlp4/META
INSTALL_TARGET= install install-META
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-install:
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt
.endfor
.include <bsd.port.mk>
|