summaryrefslogtreecommitdiff
path: root/time/ocaml-calendar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/ocaml-calendar/Makefile')
-rw-r--r--time/ocaml-calendar/Makefile24
1 files changed, 5 insertions, 19 deletions
diff --git a/time/ocaml-calendar/Makefile b/time/ocaml-calendar/Makefile
index 4f12b82f8a9..bca7aec81a3 100644
--- a/time/ocaml-calendar/Makefile
+++ b/time/ocaml-calendar/Makefile
@@ -1,36 +1,22 @@
-# $NetBSD: Makefile,v 1.10 2015/01/20 14:24:37 jaapb Exp $
+# $NetBSD: Makefile,v 1.11 2015/04/29 09:37:40 jaapb Exp $
#
-DISTNAME= calendar-2.03.2
-PKGNAME= ocaml-${DISTNAME}
-PKGREVISION= 4
+DISTNAME= calendar-2.04
CATEGORIES= time devel
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/915/
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1481/
MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://calendar.forge.ocamlcore.org/
COMMENT= OCaml library managing dates and times
LICENSE= gnu-lgpl-v2.1
-DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
-
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
+OCAML_USE_FINDLIB= yes
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS= opt
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
-PLIST.opt= yes
-.endif
-
TEST_TARGET= tests
-INSTALLATION_DIRS+= lib/ocaml/site-lib
-
-pre-install:
- ${MKDIR} ${DESTDIR}${PREFIX}/lib/ocaml/site-lib
-
-.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"