30 lines
714 B
Makefile
30 lines
714 B
Makefile
# $NetBSD: Makefile,v 1.23 2018/07/19 15:15:20 jaapb Exp $
|
|
#
|
|
|
|
VERSION= 1.07
|
|
GITHUB_PROJECT= camlzip
|
|
GITHUB_TAG= rel${VERSION:S/.//}
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
|
PKGNAME= ocaml-zip-${VERSION}
|
|
PKGREVISION= 4
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=xavierleroy/}
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/xavierleroy/camlzip
|
|
COMMENT= OCaml library to manipulate ZIP/GZIP/JAR archives
|
|
|
|
BUILD_TARGET= all
|
|
INSTALL_TARGET= install-findlib
|
|
USE_TOOLS+= gmake
|
|
OCAML_USE_FINDLIB= yes
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
|
|
.if ${OCAML_USE_OPT_COMPILER} == "yes"
|
|
BUILD_TARGET+= allopt
|
|
.endif
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|