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/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/time/ocaml-calendar/Makefile b/time/ocaml-calendar/Makefile
index 1667f5e4074..01ca8e0bbcc 100644
--- a/time/ocaml-calendar/Makefile
+++ b/time/ocaml-calendar/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2011/12/06 00:19:25 sbd Exp $
+# $NetBSD: Makefile,v 1.5 2012/08/12 17:40:59 wiz Exp $
#
-DISTNAME= calendar-2.0.4
+DISTNAME= calendar-2.03.2
PKGNAME= ocaml-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= time devel
-MASTER_SITES= # http://www.lri.fr/~signoles/prog/calendar/
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/915/
MAINTAINER= jaapb@kerguelen.org
-HOMEPAGE= http://www.lri.fr/~signoles/prog.en.html/
+HOMEPAGE= http://calendar.forge.ocamlcore.org/
COMMENT= OCaml library managing dates and times
+LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
@@ -19,16 +19,19 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
-PLIST_SRC+= PLIST.opt
+PLIST.opt= yes
.endif
-PLIST_SRC+= PLIST
-
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/bsd.pkg.mk"