From 582058670fb12260f697ededb496d472190ed3f0 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 20 Apr 2011 18:51:38 +0000 Subject: Allow module packages to specify their own do-install target. Used by x11/clisp-mit-clx. --- lang/clisp/module.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/clisp/module.mk b/lang/clisp/module.mk index d826be82329..e632764d52f 100644 --- a/lang/clisp/module.mk +++ b/lang/clisp/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.1 2010/07/09 18:08:05 asau Exp $ +# $NetBSD: module.mk,v 1.2 2011/04/20 18:51:38 hans Exp $ # Used variables: # CLISP_MODULE - name of module and subdirectory in "modules" @@ -25,9 +25,11 @@ CONFIGURE_ENV+= ac_aux_dir=$(PREFIX)/lib/clisp/build-aux/ 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" -- cgit v1.2.3