- Deprecate obsolete ocaml-doc and -examples ports

- Stagify, because it is not allowed to depcrecate unstaged ports
This commit is contained in:
Johan van Selst 2014-05-07 15:23:18 +00:00
parent 00a56135d4
commit a6e11f3927
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353166
2 changed files with 15 additions and 11 deletions

View file

@ -16,6 +16,9 @@ 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 \
@ -26,14 +29,13 @@ PORTDOCS= ${DISTNAME:R}-refman.ps \
IGNORE= installs only documentation and you have NOPORTDOCS defined
.endif
NO_STAGE= yes
do-install:
@${MKDIR} ${DOCSDIR}/html/libref
cd ${WRKDIR}/htmlman/libref && ${INSTALL_DATA} * ${DOCSDIR}/html/libref
cd ${WRKDIR}/htmlman && ${INSTALL_DATA} [a-km-z]* libg* ${DOCSDIR}/html
@${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 ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME:R}-refman.pdf ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME:R}-refman.ps ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME:R}-refman.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -11,16 +11,18 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Example programs for the Objective Caml
DEPRECATED= Outdated and discontinued; new examples are in lang/ocaml
EXPIRATION_DATE=2014-06-01
NO_BUILD= yes
NO_STAGE= yes
do-install:
.ifndef NOPORTEXAMPLES
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -cf- -C ${WRKSRC} --exclude Imakefile . | \
${TAR} -xf- -C ${EXAMPLESDIR}
@${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@${FIND} ${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
${TAR} -xf- -C ${STAGEDIR}${EXAMPLESDIR}
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
@${FIND} ${STAGEDIR}${EXAMPLESDIR} -exec ${CHOWN} ${SHAREOWN} {} \;
.endif
.include <bsd.port.mk>