1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/archivers/ocaml-bz2/Makefile
Sunpoet Po-Chuan Hsieh 6fb2d9d929 - Add LICENSE
- Strip shared library
- Convert to new options target helper
- Cosmetic change
- Bump PORTREVISION for package change
2015-11-20 09:17:08 +00:00

42 lines
927 B
Makefile

# Created by: Jaap Boender <jaapb@kerguelen.org>
# $FreeBSD$
PORTNAME= bz2
PORTVERSION= 0.6.0
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/
PKGNAMEPREFIX= ocaml-
DISTNAME= caml${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml library to manipulate bz2 files
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
DESTDIRNAME= DONTUSEIT
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_WASH= yes
USE_OCAMLFIND_PLIST= yes
USES= gmake
PORTDOCS= *
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/bz2/dllcamlbz2.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>