From 39d7fb93432416d872ed34e0025741cc93068c06 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- wm/amiwm/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'wm/amiwm') 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" -- cgit v1.2.3