aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-camlp4/Makefile
blob: 370fe1b15a4e5273192d357ae365853a2603f09f (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
PORTNAME=	camlp4
PORTVERSION=	4.08+1
CATEGORIES=	devel
PKGNAMEPREFIX=	ocaml-

MAINTAINER=	michipili@gmail.com
COMMENT=	System for writing extensible parsers for OCaml
WWW=		https://github.com/ocaml/camlp4

LICENSE=	LGPL20

BUILD_DEPENDS=	ocamlbuild:devel/ocaml-ocamlbuild

USE_GITHUB=	yes
GH_ACCOUNT=	ocaml

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-install:
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt
.endfor

.include <bsd.port.mk>