2001-09-11 08:16:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2001/09/11 12:16:32 heko Exp $
|
2001-05-05 21:27:52 -04:00
|
|
|
|
|
|
|
COMMENT= "Pre-Processor-Pretty-Printer for Objective Caml"
|
2001-09-11 08:16:32 -04:00
|
|
|
COMMENT-doc= "Camlp4 documentation"
|
|
|
|
|
|
|
|
VERSION= 3.02
|
|
|
|
DISTNAME= camlp4-${VERSION}
|
|
|
|
PKGNAME= camlp4-${VERSION}
|
|
|
|
PKGNAME-doc= camlp4-doc-${VERSION}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME}-refman.html${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME}-tutorial.html${EXTRACT_SUFX}
|
1999-02-12 23:51:49 -05:00
|
|
|
CATEGORIES= lang
|
2001-09-11 08:16:32 -04:00
|
|
|
NEED_VERSION= 1.454
|
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/ \
|
|
|
|
http://cristal.inria.fr/~ddr/Camlp4/ftp/
|
|
|
|
|
|
|
|
HOMEPAGE= http://caml.inria.fr/camlp4/
|
1999-02-12 23:51:49 -05:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
1999-02-12 23:51:49 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
BUILD_DEPENDS= ocamlc::lang/ocaml
|
2001-09-11 08:16:32 -04:00
|
|
|
RUN_DEPENDS= ocamlrun::lang/ocaml
|
1999-07-09 00:06:40 -04:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: BSD
|
2000-05-21 15:58:35 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= No
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-09-11 08:16:32 -04:00
|
|
|
MULTI_PACKAGES= -doc
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2000-06-04 17:29:05 -04:00
|
|
|
do-configure:
|
|
|
|
@sed -e s,@PREFIX@,${PREFIX}, <${FILESDIR}/Makefile.cnf.template >${WRKSRC}/config/Makefile.cnf
|
|
|
|
@cd ${WRKSRC}/config && echo ""| cat Makefile.tpl - Makefile.cnf >>Makefile
|
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
USE_GMAKE= Yes
|
1999-02-12 23:51:49 -05:00
|
|
|
ALL_TARGET= world bootstrap opt
|
|
|
|
|
2001-09-11 08:16:32 -04:00
|
|
|
WRKDIST= ${WRKDIR}/camlp4-${VERSION}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/camlp4
|
|
|
|
cd ${PREFIX}/share/doc/camlp4 && pax -s /${DISTNAME}-refman.html/refman/ -rzf ${DISTDIR}/${DISTNAME}-refman.html${EXTRACT_SUFX}
|
|
|
|
cd ${PREFIX}/share/doc/camlp4 && pax -s /${DISTNAME}-tutorial.html/tutorial/ -rzf ${DISTDIR}/${DISTNAME}-tutorial.html${EXTRACT_SUFX}
|
1999-07-09 00:06:40 -04:00
|
|
|
|
1999-02-12 23:51:49 -05:00
|
|
|
.include <bsd.port.mk>
|