- Add LICENSE

- Strip shared library
- Convert to new options target helper
- Cosmetic change
- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-11-20 09:17:08 +00:00
parent 78ffde9d47
commit 6fb2d9d929
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402059

View file

@ -3,7 +3,7 @@
PORTNAME= bz2 PORTNAME= bz2
PORTVERSION= 0.6.0 PORTVERSION= 0.6.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= archivers CATEGORIES= archivers
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/ MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/72/
PKGNAMEPREFIX= ocaml- PKGNAMEPREFIX= ocaml-
@ -12,23 +12,28 @@ DISTNAME= caml${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml library to manipulate bz2 files COMMENT= OCaml library to manipulate bz2 files
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
DESTDIRNAME= DONTUSEIT DESTDIRNAME= DONTUSEIT
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USES= gmake MAKE_JOBS_UNSAFE= yes
USE_OCAML= yes USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes USE_OCAML_LDCONFIG= yes
USE_OCAML_WASH= yes USE_OCAML_WASH= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes USE_OCAMLFIND_PLIST= yes
USES= gmake
PORTDOCS= * PORTDOCS= *
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
MAKE_JOBS_UNSAFE= yes
post-install: post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/bz2/dllcamlbz2.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})