summaryrefslogtreecommitdiff
path: root/wm/amiwm
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /wm/amiwm
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.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"