openbsd-ports/lang/camlp4/Makefile

49 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2001/11/10 15:00:48 espie Exp $
COMMENT= "Pre-Processor-Pretty-Printer for Objective Caml"
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
NEED_VERSION= 1.489
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
BUILD_DEPENDS= ::lang/ocaml
RUN_DEPENDS= ::lang/ocaml
1999-07-09 00:06:40 -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
MULTI_PACKAGES= -doc
SUBPACKAGE?=
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
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>