[BACK]Return to module.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / clisp

File: [cvs.NetBSD.org] / pkgsrc / lang / clisp / module.mk (download)

Revision 1.3, Tue Oct 2 20:11:37 2012 UTC (22 months, 2 weeks ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Changes since 1.2: +1 -2 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: module.mk,v 1.3 2012/10/02 20:11:37 asau Exp $

# Used variables:
# CLISP_MODULE - name of module and subdirectory in "modules"

CLISP_VERSION=		2.49
DISTNAME=		clisp-$(CLISP_VERSION)

# Sparc64 has assembler code problems, see
# http://sourceforge.net/tracker/index.php?func=detail&aid=952681&group_id=1355&atid=101355
NOT_FOR_PLATFORM=	*-*-sparc64
NOT_FOR_PLATFORM+=	*-*-arm

PKG_INSTALLATION_TYPES= overwrite pkgviews


CONFIGURE_DIRS=		modules/$(CLISP_MODULE)
GNU_CONFIGURE=		YES
BUILD_TARGET=		clisp-module	# converting to "all"

CONFIGURE_ENV+=		ac_install_sh="install -c"
CONFIGURE_ENV+=		ac_aux_dir=$(PREFIX)/lib/clisp/build-aux/
#TEST_TARGET=		check mod-check

INSTALLATION_DIRS=	lib/clisp

.if !target(do-install)
do-install:
	$(INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/lib/clisp/dynmod
	cd $(WRKSRC)/modules;	\
	$(SETENV) DESTDIR=$(DESTDIR:Q) sh $(LOCALBASE)/bin/clisp-link install $(CLISP_MODULE)
.endif

.include "../../lang/clisp/buildlink3.mk"