12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # $OpenBSD: Makefile,v 1.9 2016/08/19 12:51:19 krw Exp $
- MULTI_PACKAGES = -main -lib
- COMMENT-main = OCaml source-based package manager
- COMMENT-lib = OPAM library
- CATEGORIES = sysutils devel
- V = 1.2.2
- GH_ACCOUNT = ocaml
- GH_PROJECT = opam
- GH_TAGNAME = ${V}
- DISTNAME = ${GH_PROJECT}-${V}
- REVISION = 2
- PKGNAME-main = opam-${V}
- PKGNAME-lib = opam-lib-${V}
- HOMEPAGE = https://opam.ocaml.org/
- MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
- # LGPLv3
- PERMIT_PACKAGE_CDROM = Yes
- WANTLIB-main = c m
- MODULES = lang/ocaml
- BUILD_DEPENDS = devel/git \
- sysutils/findlib \
- devel/ocaml-ocamlbuild \
- devel/cudf,-ocaml \
- devel/ocaml-cmdliner \
- devel/ocaml-dose \
- devel/ocaml-graph \
- devel/ocaml-re \
- devel/ocaml-jsonm
- RUN_DEPENDS = lang/ocaml-camlp4 \
- net/rsync \
- archivers/unzip \
- devel/gmake \
- archivers/bzip2 \
- net/curl
- USE_GMAKE = Yes
- CONFIGURE_STYLE = gnu
- ALL_TARGET = all html man
- INSTALL_TARGET = install libinstall
- TEST_TARGET = tests
- docdir = ${PREFIX}/share/doc/opam
- post-install:
- ${INSTALL_DATA_DIR} ${docdir}/{pages,api}
- ${INSTALL_DATA} \
- ${WRKSRC}/{CHANGES,README.md} \
- ${WRKSRC}/doc/design/* \
- ${docdir}/
- ${INSTALL_DATA} ${WRKSRC}/doc/pages/*.md ${docdir}/pages
- ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${docdir}/api
- ${INSTALL_DATA} ${WRKSRC}/doc/dev-manual/dev-manual.pdf ${docdir}/
- ${INSTALL_SCRIPT} ${FILESDIR}/aspcud ${PREFIX}/bin/aspcud
- .include <bsd.port.mk>
|