update to ocaml-rss-2.0
* new MASTER_SITES and HOMEPAGE * use new PROPERTY ocaml_native * patch to support install on bytecode-only arch From: Christopher Zimmermann <madroach@gmerlin.de>
This commit is contained in:
parent
dca34fd82c
commit
9ce0b926a6
@ -1,16 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2010/11/20 19:56:49 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2012/08/18 22:28:53 avsm Exp $
|
||||
|
||||
COMMENT= Objective Caml library to parse RSS 2.0
|
||||
CATEGORIES= textproc
|
||||
|
||||
V= 0.4
|
||||
DISTNAME= ocamlrss_${V}
|
||||
V= 2.0
|
||||
DISTNAME= ocamlrss-${V}
|
||||
PKGNAME= ocaml-rss-${V}
|
||||
REVISION = 2
|
||||
MASTER_SITES= http://pauillac.inria.fr/~guesdon/Tools/Tars/
|
||||
MASTER_SITES= http://zoggy.github.com/ocamlrss/
|
||||
|
||||
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
||||
HOMEPAGE= http://www.nongnu.org/ocamlrss/
|
||||
HOMEPAGE= http://zoggy.github.com/ocamlrss/
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
@ -19,11 +18,20 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
MODULES= lang/ocaml
|
||||
WRKDIST= ${WRKDIR}/ocamlrss-${V}
|
||||
NO_REGRESS= Yes
|
||||
ALL_TARGET= byte ${MODOCAML_NATIVE:S,Yes,opt,:S,No,,}
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
BUILD_DEPENDS= textproc/ocaml-xml-light
|
||||
|
||||
USE_GMAKE = yes
|
||||
|
||||
RUN_DEPENDS = textproc/ocaml-xmlm
|
||||
BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
.if ${PROPERTIES:Mocaml_native}
|
||||
ALL_TARGET = all
|
||||
INSTALL_TARGET = install_all
|
||||
.else
|
||||
ALL_TARGET = byte
|
||||
INSTALL_TARGET = install_byte
|
||||
.endif
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (ocamlrss_0.4.tar.gz) = x9xDJupgyxvTfbPIJ26epA==
|
||||
RMD160 (ocamlrss_0.4.tar.gz) = +SEDjY4FISywhcUMUEMeP8RGXMw=
|
||||
SHA1 (ocamlrss_0.4.tar.gz) = IUgl/MY0V/z9VdZx+GLi2Uxk1W8=
|
||||
SHA256 (ocamlrss_0.4.tar.gz) = N8TfJlhhzDyPbOqyzfgwdi2vl68g875+meGJ7RDCwwU=
|
||||
SIZE (ocamlrss_0.4.tar.gz) = 55309
|
||||
SHA256 (ocamlrss-2.0.tar.gz) = 3CqeMsfErsMEdTj9Adpiv2EmPVnADGk2I8d7S3Y4CbA=
|
||||
SIZE (ocamlrss-2.0.tar.gz) = 18422
|
||||
|
14
textproc/ocaml-rss/patches/patch-Makefile
Normal file
14
textproc/ocaml-rss/patches/patch-Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2012/08/18 22:28:53 avsm Exp $
|
||||
--- Makefile.orig Fri Apr 6 11:15:24 2012
|
||||
+++ Makefile Thu Aug 9 22:28:23 2012
|
||||
@@ -79,7 +79,9 @@ test: rsstest
|
||||
|
||||
# installation :
|
||||
################
|
||||
-install: byte opt
|
||||
+install_byte: byte
|
||||
+ $(OCAMLFIND) install rss META LICENSE rss.cmi rss.cma
|
||||
+install_all: all
|
||||
$(OCAMLFIND) install rss META LICENSE rss.cmi rss.cma rss.cmxa rss.a
|
||||
|
||||
uninstall:
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-rss_io_ml,v 1.1 2005/05/24 00:12:23 avsm Exp $
|
||||
--- rss_io.ml.orig Tue May 24 01:08:24 2005
|
||||
+++ rss_io.ml Tue May 24 01:08:37 2005
|
||||
@@ -303,7 +303,7 @@ let opt_element opt s =
|
||||
None -> []
|
||||
| Some v -> [Element (s, [], [PCData v])]
|
||||
|
||||
-let default_date_format = "%d %b %Y %T %z"
|
||||
+let default_date_format = "%a, %d %b %Y %T %z"
|
||||
(* ex: 19 May 2002 15:21:36 *)
|
||||
|
||||
let err_date d = ()
|
@ -1,3 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2005/05/23 23:04:53 avsm Exp $
|
||||
lib/ocaml/rss.a
|
||||
lib/ocaml/rss.cmxa
|
||||
@comment $OpenBSD: PFRAG.native,v 1.2 2012/08/18 22:28:53 avsm Exp $
|
||||
lib/ocaml/rss/rss.a
|
||||
lib/ocaml/rss/rss.cmxa
|
||||
|
@ -1,5 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/23 23:04:53 avsm Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2012/08/18 22:28:53 avsm Exp $
|
||||
lib/ocaml/
|
||||
lib/ocaml/rss.cma
|
||||
lib/ocaml/rss.cmi
|
||||
lib/ocaml/rss/
|
||||
lib/ocaml/rss/LICENSE
|
||||
lib/ocaml/rss/META
|
||||
lib/ocaml/rss/rss.cma
|
||||
lib/ocaml/rss/rss.cmi
|
||||
%%native%%
|
||||
lib/ocaml/stublibs/
|
||||
|
Loading…
Reference in New Issue
Block a user