diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-09-13 16:39:47 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-09-13 16:39:47 +0000 |
commit | f56132fe6364e98d23ad917212d8143274e95d91 (patch) | |
tree | 8c835c14a8ea45df8fbff80913db28e3b555a6e4 /lang/ocaml-camlidl | |
parent | Add a checksum for 2.5c2 and remove checksums for old beta releases. (diff) |
Fix build/install on 4.x by using gmake+gunzip.
PR: ports/103216
Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
Notes
Notes:
svn path=/head/; revision=172951
Diffstat (limited to 'lang/ocaml-camlidl')
-rw-r--r-- | lang/ocaml-camlidl/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/ocaml-camlidl/Makefile b/lang/ocaml-camlidl/Makefile index 898d973b0cc6..f8e03e11cc9f 100644 --- a/lang/ocaml-camlidl/Makefile +++ b/lang/ocaml-camlidl/Makefile @@ -26,6 +26,10 @@ DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} .include <bsd.port.pre.mk> .include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk" +.if ${OSVERSION} < 500000 +USE_GMAKE= yes +.endif + post-extract: @${REINPLACE_CMD} -e "s,^\(OCAMLLIB=\).*,\1${PREFIX}/lib/ocaml,g" \ -e "s,^\(BINDIR=\).*,\1${PREFIX}/bin,g" \ @@ -51,8 +55,8 @@ pre-install: post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${TAR} -C ${DOCSDIR} -xf \ - ${_DISTDIR}/${PORTNAME}-${PORTVERSION}.doc.html.tar.gz + ${GZCAT} ${_DISTDIR}/${PORTNAME}-${PORTVERSION}.doc.html.tar.gz \ + | ${TAR} -C ${DOCSDIR} -xf - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} ${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; .endif |