diff options
author | hans <hans@pkgsrc.org> | 2011-04-20 18:51:38 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-04-20 18:51:38 +0000 |
commit | ce1e40436d071a84e43fe565367592e03850a447 (patch) | |
tree | 958ad52215311417a92ddbf62723cab995a22415 /lang/clisp | |
parent | 85bb851030aa0d4d9daa8340d115f53c3f1f30c7 (diff) | |
download | pkgsrc-ce1e40436d071a84e43fe565367592e03850a447.tar.gz |
Allow module packages to specify their own do-install target.
Used by x11/clisp-mit-clx.
Diffstat (limited to 'lang/clisp')
-rw-r--r-- | lang/clisp/module.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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" |