svn commit: r353166 - in head/lang: ocaml-doc ocaml-examples
Johan van Selst
johans at FreeBSD.org
Wed May 7 15:23:19 UTC 2014
Author: johans
Date: Wed May 7 15:23:18 2014
New Revision: 353166
URL: http://svnweb.freebsd.org/changeset/ports/353166
QAT: https://qat.redports.org/buildarchive/r353166/
Log:
- Deprecate obsolete ocaml-doc and -examples ports
- Stagify, because it is not allowed to depcrecate unstaged ports
Modified:
head/lang/ocaml-doc/Makefile
head/lang/ocaml-examples/Makefile
Modified: head/lang/ocaml-doc/Makefile
==============================================================================
--- head/lang/ocaml-doc/Makefile Wed May 7 15:21:35 2014 (r353165)
+++ head/lang/ocaml-doc/Makefile Wed May 7 15:23:18 2014 (r353166)
@@ -16,6 +16,9 @@ EXTRACT_ONLY= ${DISTNAME}-refman-html.ta
MAINTAINER= johans at 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>
Modified: head/lang/ocaml-examples/Makefile
==============================================================================
--- head/lang/ocaml-examples/Makefile Wed May 7 15:21:35 2014 (r353165)
+++ head/lang/ocaml-examples/Makefile Wed May 7 15:23:18 2014 (r353166)
@@ -11,16 +11,18 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${
MAINTAINER= johans at 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>
More information about the svn-ports-head
mailing list