summaryrefslogtreecommitdiff
path: root/wm/amiwm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /wm/amiwm
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'wm/amiwm')
-rw-r--r--wm/amiwm/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/wm/amiwm/Makefile b/wm/amiwm/Makefile
index 47fe89c5732..ffb57f89118 100644
--- a/wm/amiwm/Makefile
+++ b/wm/amiwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/04/25 02:16:11 reed Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:53 joerg Exp $
#
DISTNAME= amiwm0.20pl48
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lysator.liu.se/~marcus/amiwm.html
COMMENT= X window manager with Amiga look and feel
+PKG_DESTDIR_SUPPORT= user-destdir
+
LICENSE= amiwm-license
RESTRICTED= Restrictive copyright (non-commerical use only)
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -31,6 +33,11 @@ CONFIGURE_ENV+= X_EXTRA_LIBS=-lXt
X_PRE_LIBS= ${COMPILER_RPATH_FLAG}${X11BASE}/lib
FIX_RPATH+= X_PRE_LIBS
+INSTALLATION_DIRS= bin
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"