summaryrefslogtreecommitdiff
path: root/wm/amaterus
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/amaterus
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'wm/amaterus')
-rw-r--r--wm/amaterus/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/wm/amaterus/Makefile b/wm/amaterus/Makefile
index 55470977b2f..7d58dc0b92d 100644
--- a/wm/amaterus/Makefile
+++ b/wm/amaterus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/01/08 15:01:17 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:53 joerg Exp $
DISTNAME= amaterus-0.34.1
PKGREVISION= 5
@@ -9,12 +9,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.taiyaki.org/
COMMENT= GTK+ window manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
+INSTALLATION_DIRS= share/doc/amaterus
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amaterus
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/amaterus
- ${INSTALL_DATA} ${WRKSRC}/README.en ${PREFIX}/share/doc/amaterus
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/amaterus
+ ${INSTALL_DATA} ${WRKSRC}/README.en ${DESTDIR}${PREFIX}/share/doc/amaterus
.include "../../textproc/libxml/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"