File:  [cvs.NetBSD.org] / pkgsrc / x11 / labltk / Makefile
Revision 1.30: download - view: text, annotated - select for diffs
Fri Sep 8 09:51:27 2017 UTC (7 years, 3 months ago) by jaapb
Branches: MAIN
CVS tags: HEAD
Recursive revbump associated with update of ocaml to 4.05

# $NetBSD: Makefile,v 1.30 2017/09/08 09:51:27 jaapb Exp $

DISTNAME=	labltk-8.06.0
PKGREVISION=	7
CATEGORIES=	x11
MASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/1455/
LICENSE=	gnu-lgpl-v2.1

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://forge.ocamlcore.org/projects/labltk/
COMMENT=	Tk bindings for ocaml

USE_TOOLS+=	gmake
MAKE_JOBS_SAFE=	no

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	-x11include ${X11BASE}/include
CONFIGURE_ARGS+=	-x11lib ${X11BASE}/lib
CONFIGURE_ARGS+=	-use-findlib
CONFIGURE_ARGS+=	-tkdefs "-I${BUILDLINK_PREFIX.tk}/include  -I${BUILDLINK_PREFIX.tcl}/include"
CONFIGURE_ARGS+=	-tklibs "`${SH} -c '. ${TCLCONFIG_SH}; . ${TKCONFIG_SH}; ${ECHO} $$TK_LD_FLAGS $$TCL_LD_FLAGS $$TK_LIBS $$TCL_LIBS'`"

BUILD_TARGET=		all
INSTALL_TARGET=		install
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
    (${MACHINE_ARCH} == "arm") || \
    (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET+=		opt
PLIST_SRC=		${.CURDIR}/PLIST.opt ${.CURDIR}/PLIST
.endif

.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>