1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/lang/ocaml-doc/Makefile
Johan van Selst a6e11f3927 - Deprecate obsolete ocaml-doc and -examples ports
- Stagify, because it is not allowed to depcrecate unstaged ports
2014-05-07 15:23:18 +00:00

42 lines
1.3 KiB
Makefile

# Created by: Eugene Ossintsev
# $FreeBSD$
PORTNAME= ocaml
PORTVERSION= 3.12.1
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME:R}/ \
ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:R}/ \
ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/caml-light/${DISTNAME:R}/
PKGNAMESUFFIX= -doc
DISTFILES= ${DISTNAME}-refman-html.tar.gz \
${DISTNAME:R}-refman.ps.gz \
${DISTNAME:R}-refman.pdf
EXTRACT_ONLY= ${DISTNAME}-refman-html.tar.gz
MAINTAINER= johans@FreeBSD.org
COMMENT= Documentation (HTML, PS) for the Objective Caml
DEPRECATED= Documentation is now included in lang/ocaml
EXPIRATION_DATE=2014-06-01
NO_BUILD= yes
PORTDOCS= ${DISTNAME:R}-refman.ps \
${DISTNAME:R}-refman.pdf \
html
.ifdef(NOPORTDOCS)
IGNORE= installs only documentation and you have NOPORTDOCS defined
.endif
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html/libref
cd ${WRKDIR}/htmlman/libref && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/html/libref
cd ${WRKDIR}/htmlman && ${INSTALL_DATA} [a-km-z]* libg* ${STAGEDIR}${DOCSDIR}/html
cp ${DISTDIR}/${DISTNAME:R}-refman.ps.gz ${WRKDIR}
${GUNZIP_CMD} ${WRKDIR}/${DISTNAME:R}-refman.ps.gz
${INSTALL_DATA} ${WRKDIR}/${DISTNAME:R}-refman.ps ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME:R}-refman.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>