Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 15:23:19 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353166 - in head/lang: ocaml-doc ocaml-examples
Message-ID:  <201405071523.s47FNJP0034542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405071523.s47FNJP0034542>