summaryrefslogtreecommitdiff
path: root/x11/ggiterm
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /x11/ggiterm
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'x11/ggiterm')
-rw-r--r--x11/ggiterm/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/x11/ggiterm/Makefile b/x11/ggiterm/Makefile
index 0ba3262ccf3..9b9fd58ea2e 100644
--- a/x11/ggiterm/Makefile
+++ b/x11/ggiterm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/04 21:31:08 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:44 joerg Exp $
#
DISTNAME= ggiterm-0.7.0
@@ -10,16 +10,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ggiterm.sourceforge.net/
COMMENT= Libggi-based terminal emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
+INSTALLATION_DIRS= share/doc/ggiterm
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ggiterm
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ggiterm
- ${INSTALL_DATA} ${WRKSRC}/ggiterm.termcap ${PREFIX}/share/doc/ggiterm
- ${INSTALL_DATA} ${WRKSRC}/ggiterm.terminfo ${PREFIX}/share/doc/ggiterm
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ggiterm
+ ${INSTALL_DATA} ${WRKSRC}/ggiterm.termcap ${DESTDIR}${PREFIX}/share/doc/ggiterm
+ ${INSTALL_DATA} ${WRKSRC}/ggiterm.terminfo ${DESTDIR}${PREFIX}/share/doc/ggiterm
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libggiwmh/buildlink3.mk"