Update to wyrd-1.4.5

- remove USE_GROFF
- support ocaml-4.00.0
ok maintainer okan@
From: Christopher Zimmermann <madroach@gmerlin.de>
This commit is contained in:
avsm 2012-08-23 16:40:38 +00:00
parent 863a07690a
commit 859f6bd0e2
4 changed files with 41 additions and 10 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2010/11/20 09:48:40 espie Exp $
# $OpenBSD: Makefile,v 1.17 2012/08/23 16:40:38 avsm Exp $
COMMENT= curses calendar front-end to remind
DISTNAME= wyrd-1.4.4
REVISION= 3
DISTNAME= wyrd-1.4.5
CATEGORIES= productivity
HOMEPAGE= http://pessimization.com/software/wyrd/
@ -27,12 +26,10 @@ USE_GMAKE= Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= misc/remind
USE_GROFF= Yes
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/share/examples/wyrd
${INSTALL_DATA} ${WRKSRC}/wyrdrc ${DESTDIR}/${SYSCONFDIR}/wyrdrc
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
MD5 (wyrd-1.4.4.tar.gz) = o3bAW6YUYl2gYILYUMdCxw==
RMD160 (wyrd-1.4.4.tar.gz) = hHhhCrXQcZELY4tG+EsRn4GCans=
SHA1 (wyrd-1.4.4.tar.gz) = hjUwNDFufV8GGuLBH3cDkSop/nA=
SHA256 (wyrd-1.4.4.tar.gz) = FU9c78htQwd/PBUOW1CifTP+en5Q17kPOdFvBU9cVwo=
SIZE (wyrd-1.4.4.tar.gz) = 226757
SHA256 (wyrd-1.4.5.tar.gz) = yIRNhXZ7O5zJzk9DDg74O6KdlsYw8DxQjqtauGIEE3s=
SIZE (wyrd-1.4.5.tar.gz) = 398294

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-Makefile_in,v 1.1 2012/08/23 16:40:38 avsm Exp $
--- Makefile.in.orig Sun Aug 5 22:41:16 2012
+++ Makefile.in Sun Aug 5 22:41:21 2012
@@ -91,10 +91,10 @@ version.ml: Makefile
$(CURSES_CMA):
- make -C curses byte
+ $(MAKE) -C curses byte
$(CURSES_CMXA):
- make -C curses opt
+ $(MAKE) -C curses opt
# installation
@@ -202,7 +202,7 @@ partly-clean::
rm -f *.aux *.log $(NAME).tex $(NAME).dvi $(NAME).ps
curses-clean::
- make -C curses clean
+ $(MAKE) -C curses clean
clean:: partly-clean curses-clean

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2012/08/23 16:40:38 avsm Exp $
--- configure.orig Sun Aug 5 22:36:54 2012
+++ configure Sun Aug 5 22:37:23 2012
@@ -1791,7 +1791,7 @@ OCAMLMINORVERSION=`echo $OCAMLVERSION | cut -d '.' -f
if test $OCAMLMAJORVERSION -lt 3 ; then
as_fn_error "Wyrd requires OCaml version 3.08 or greater." "$LINENO" 5
else
- if test $OCAMLMINORVERSION -lt 8 ; then
+ if test $OCAMLMAJORVERSION -eq 3 -a $OCAMLMINORVERSION -lt 8 ; then
as_fn_error "Wyrd requires OCaml version 3.08 or greater." "$LINENO" 5
fi
fi