diff options
author | jlam <jlam> | 2008-02-27 22:31:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-02-27 22:31:52 +0000 |
commit | 77c1d708a4904bf6ea88ef4f12db08f29f295de2 (patch) | |
tree | 4bbca4cb2459b5aac3dcd7821d89fc2b0363e0ec /wm/ion/Makefile | |
parent | 57d3978dc284a64ef175f2023102d2c82cf4f76c (diff) | |
download | pkgsrc-77c1d708a4904bf6ea88ef4f12db08f29f295de2.tar.gz |
+ Add full DESTDIR support in the least intrusive way possible. The
strategy is to leave alone the install targets sprinkled all over
the Makefiles and instead to two thigns:
(1) Define new INST_* variants of BINDIR, ETCDIR, MODULEDIR, etc.
that are the "final" installation locations, and thus may be
hardcoded into the program.
(2) Modify the definitions of BINDIR, ETCDIR, MODULEDIR, etc. to
point to $(DESTDIR)$(INST_*). These variables can be used in
the _install targets without any changes.
Diffstat (limited to 'wm/ion/Makefile')
-rw-r--r-- | wm/ion/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/wm/ion/Makefile b/wm/ion/Makefile index 3029bafc21c..20dc6038627 100644 --- a/wm/ion/Makefile +++ b/wm/ion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2007/02/01 22:52:41 joerg Exp $ +# $NetBSD: Makefile,v 1.34 2008/02/27 22:31:52 jlam Exp $ # DISTNAME= ion-2-20040729 @@ -12,10 +12,12 @@ HOMEPAGE= http://modeemi.fi/~tuomov/ion/ COMMENT= Keyboard friendly tiling window manager PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir -USE_LIBTOOL= yes -USE_TOOLS+= gmake -GNU_CONFIGURE= YES +USE_LIBTOOL= yes +USE_TOOLS+= gmake +GNU_CONFIGURE= yes +INSTALL_MAKE_FLAGS= INST_ETCDIR=${EGDIR:Q} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} |