openbsd-ports/lang/camlp4/Makefile
espie 0e6f6f93bb Kill first component of BUILD_DEPENDS.
Fix sawfish comment while I'm at it.
`window manager for the X windows system'.
Like DUH ! It's going to be a window manager for my microwave oven ?
2001-11-10 15:00:47 +00:00

49 lines
1.5 KiB
Makefile

# $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}
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/
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
BUILD_DEPENDS= ::lang/ocaml
RUN_DEPENDS= ::lang/ocaml
# License: BSD
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
USE_GMAKE= Yes
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}
.include <bsd.port.mk>