ports/167053: [PATCH] databases/ocaml-pgocaml: update to 1.5

Jyun-Yan You jyyou at cs.nctu.edu.tw
Wed Apr 18 12:00:18 UTC 2012


>Number:         167053
>Category:       ports
>Synopsis:       [PATCH] databases/ocaml-pgocaml: update to 1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 12:00:17 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jyun-Yan You
>Release:        FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD csduty.cs.nctu.edu.tw 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011
>Description:
- Update to 1.5

Port maintainer (tcrimi at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ocaml-pgocaml-1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/ocaml-pgocaml/Makefile /amd/gcs/98/9855518/src/ports/databases/ocaml-pgocaml/Makefile
--- /usr/ports/databases/ocaml-pgocaml/Makefile	2012-04-10 07:51:39.000000000 +0800
+++ /amd/gcs/98/9855518/src/ports/databases/ocaml-pgocaml/Makefile	2012-04-18 19:21:16.996453000 +0800
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	pgocaml
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	databases
-MASTER_SITES=	BERLIOS
+MASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/850/
 PKGNAMEPREFIX=	ocaml-
 EXTRACT_SUFX=	.tgz
 
@@ -20,23 +20,21 @@
 		${LOCALBASE}/${OCAML_SITELIBDIR}/calendar:${PORTSDIR}/devel/ocaml-calendar \
 		${LOCALBASE}/${OCAML_SITELIBDIR}/csv:${PORTSDIR}/textproc/ocaml-csv
 
-DEPRECATED=	BROKEN for more than 6 month
-EXPIRATION_DATE=	2012-05-10
-
-BROKEN=		does not build
-
 USE_GMAKE=	yes
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=	yes
-OCAML_PKGDIRS=	pgocaml
+USE_OCAMLFIND_PLIST=	yes
 
 INSTALL_TARGET=	findlib_install
 
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/camlp4o.byte)
+post-patch:
+	${REINPLACE_CMD} 's/-pp "camlp4o/-pp "camlp4o.byte/g' ${WRKSRC}/Makefile
+.endif
+
 pre-build:
 	cd ${WRKSRC}; ${GMAKE} depend
 
-post-install:
-	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/databases/ocaml-pgocaml/distinfo /amd/gcs/98/9855518/src/ports/databases/ocaml-pgocaml/distinfo
--- /usr/ports/databases/ocaml-pgocaml/distinfo	2010-11-17 20:23:11.000000000 +0800
+++ /amd/gcs/98/9855518/src/ports/databases/ocaml-pgocaml/distinfo	2012-04-18 19:21:16.999448000 +0800
@@ -1,2 +1,2 @@
-SHA256 (pgocaml-1.4.tgz) = ee041b2efcf071b0b0e7f48428b2cfd8a1b4550bfe402dbe2a259af2b7b5c190
-SIZE (pgocaml-1.4.tgz) = 41256
+SHA256 (pgocaml-1.5.tgz) = 99e70a6963432618f4e5c3922e9622e59132ed7787dd2d668dab2b0048292a0b
+SIZE (pgocaml-1.5.tgz) = 43764
--- ocaml-pgocaml-1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list