mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
The only reason to use post-stage is because the port needs to do "things" at a later time, like some plist manipulation. While there, fold post-install in do-install targets when they are defined. PR: 214780 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
31 lines
643 B
Makefile
31 lines
643 B
Makefile
# Created by: Michael Grünewald <michipili@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= camlp4
|
|
PORTVERSION= 4.02.1+1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= michipili@gmail.com
|
|
COMMENT= Camlp4 is a system for writing extensible parsers for OCaml
|
|
|
|
LICENSE= LGPL20
|
|
|
|
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>
|