36 lines
869 B
Makefile
36 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.7 2012/10/08 15:18:25 jaapb Exp $
|
|
#
|
|
|
|
DISTNAME= calendar-2.03.2
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= time devel
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/915/
|
|
|
|
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
|
|
|
|
.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/bsd.pkg.mk"
|