Changeset View
Changeset View
Standalone View
Standalone View
devel/ocaml-camlp4/Makefile
# Created by: Michael Grünewald <michipili@gmail.com> | # Created by: Michael Grünewald <michipili@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= camlp4 | PORTNAME= camlp4 | ||||
PORTVERSION= 4.02.1+1 | DISTVERSION= 4.07+1 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
PKGNAMEPREFIX= ocaml- | PKGNAMEPREFIX= ocaml- | ||||
MAINTAINER= michipili@gmail.com | MAINTAINER= michipili@gmail.com | ||||
COMMENT= Camlp4 is a system for writing extensible parsers for OCaml | COMMENT= Camlp4 is a system for writing extensible parsers for OCaml | ||||
LICENSE= LGPL20 | LICENSE= LGPL20 | ||||
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild | |||||
USES= gmake | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ocaml | GH_ACCOUNT= ocaml | ||||
USES= gmake | |||||
USE_OCAML= yes | USE_OCAML= yes | ||||
ALL_TARGET= all camlp4/META | |||||
HAS_CONFIGURE= yes | HAS_CONFIGURE= yes | ||||
INSTALL_TARGET= install install-META | |||||
MAKE_ENV+= DESTDIR="${STAGEDIR}" | MAKE_ENV+= DESTDIR="${STAGEDIR}" | ||||
MAKE_JOBS_UNSAFE=yes | MAKE_JOBS_UNSAFE= yes | ||||
ALL_TARGET= all camlp4/META | |||||
INSTALL_TARGET= install install-META | |||||
post-install: | post-install: | ||||
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf | .for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |