svn commit: r354336 - head/devel/ocaml-res

Martin Wilke miwi at FreeBSD.org
Sat May 17 16:39:34 UTC 2014


Author: miwi
Date: Sat May 17 16:39:33 2014
New Revision: 354336
URL: http://svnweb.freebsd.org/changeset/ports/354336
QAT: https://qat.redports.org/buildarchive/r354336/

Log:
  - Update to version 4.0.4
  
  PR:		188361
  Submitted by:	Ports Fury

Modified:
  head/devel/ocaml-res/Makefile
  head/devel/ocaml-res/distinfo

Modified: head/devel/ocaml-res/Makefile
==============================================================================
--- head/devel/ocaml-res/Makefile	Sat May 17 16:38:54 2014	(r354335)
+++ head/devel/ocaml-res/Makefile	Sat May 17 16:39:33 2014	(r354336)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	res
-PORTVERSION=	4.0.3
+PORTVERSION=	4.0.4
 CATEGORIES=	devel
 MASTER_SITES=	http://cdn.bitbucket.org/mmottl/res/downloads/
 PKGNAMEPREFIX=	ocaml-
@@ -12,8 +12,6 @@ COMMENT=	Automatically Resizing Contiguo
 
 LICENSE=	LGPL21
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=yes
 USE_OCAMLFIND_PLIST=yes
@@ -29,27 +27,16 @@ EXAMPLESDIR=	${OCAML_EXAMPLESDIR}/${PORT
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_DIRSTRY+=	${OCAML_DOCSDIR:S,^${PREFIX}/,,}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRSTRY+=	${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
-.endif
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in AUTHORS.txt CHANGES.txt README.md TODO.md
-	cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
+		${STAGEDIR}${DOCSDIR})
 .endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_DATA} *.ml ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} *.ml \
+		${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-res/distinfo
==============================================================================
--- head/devel/ocaml-res/distinfo	Sat May 17 16:38:54 2014	(r354335)
+++ head/devel/ocaml-res/distinfo	Sat May 17 16:39:33 2014	(r354336)
@@ -1,2 +1,2 @@
-SHA256 (res-4.0.3.tar.gz) = 264319e586b2695f4ce453eb950546f4898875bed11df5e514f84c8670269b5e
-SIZE (res-4.0.3.tar.gz) = 69587
+SHA256 (res-4.0.4.tar.gz) = bac9fddebca10e5cdb364babc49e62df0f6289cdadf3cef2810d9b4b81e23bd1
+SIZE (res-4.0.4.tar.gz) = 72603


More information about the svn-ports-all mailing list