0081341c9f
Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.
38 lines
746 B
Makefile
38 lines
746 B
Makefile
# $OpenBSD: Makefile,v 1.10 2012/11/30 19:38:09 chrisz Exp $
|
|
|
|
COMMENT= simple XML parser/printer for OCaml
|
|
CATEGORIES= textproc
|
|
|
|
V= 2.2
|
|
DISTNAME= xml-light-${V}
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
REVISION = 5
|
|
EXTRACT_SUFX= .zip
|
|
MASTER_SITES= http://tech.motion-twin.com/zip/
|
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
HOMEPAGE= http://tech.motion-twin.com/xmllight.html
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
MODULES= lang/ocaml
|
|
WRKDIST= ${WRKDIR}/xml-light
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
ALL_TARGET= all
|
|
INSTALL_TARGET= install
|
|
|
|
.include <bsd.port.arch.mk>
|
|
.if ${PROPERTIES:Mocaml_native}
|
|
ALL_TARGET += opt
|
|
INSTALL_TARGET += installopt
|
|
.endif
|
|
|
|
|
|
.include <bsd.port.mk>
|