Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 03:25:27 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/188361: devel/ocaml-res: Update to version 4.0.4
Message-ID:  <20140408032527.19c4b3067eab4d40c43005ee@yahoo.com>
Resent-Message-ID: <201404071840.s37Ie3tJ013956@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188361
>Category:       ports
>Synopsis:       devel/ocaml-res: Update to version 4.0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 18:40:03 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 4.0.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/ocaml-res/Makefile devel/ocaml-res/Makefile
--- /usr/ports/devel/ocaml-res/Makefile	2013-11-06 21:50:05.000000000 +0900
+++ devel/ocaml-res/Makefile	2014-04-08 00:00:00.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/devel/ocaml-res/Makefile 327724 2013-09-20 17:13:42Z bapt $
 
 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 @@
 
 LICENSE=	LGPL21
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=yes
 USE_OCAMLFIND_PLIST=yes
@@ -29,27 +27,16 @@
 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>
diff -urN /usr/ports/devel/ocaml-res/distinfo devel/ocaml-res/distinfo
--- /usr/ports/devel/ocaml-res/distinfo	2013-11-06 21:50:05.000000000 +0900
+++ devel/ocaml-res/distinfo	2014-04-08 00:00:00.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



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