summaryrefslogtreecommitdiff
path: root/wm/amaterus
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/amaterus
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.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"