summaryrefslogtreecommitdiff
path: root/x11/xdialog
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 21:34:53 +0000
committerjoerg <joerg>2009-07-07 21:34:53 +0000
commita51c66c52bd44318dd835d67f3806d3f430460f4 (patch)
tree46f82165c188fe68b6c832370c508b199ec78d8f /x11/xdialog
parent66e1dd012b958f6b69ed39ccb081e52aae618fd6 (diff)
downloadpkgsrc-a51c66c52bd44318dd835d67f3806d3f430460f4.tar.gz
user-destdir support
Diffstat (limited to 'x11/xdialog')
-rw-r--r--x11/xdialog/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11/xdialog/Makefile b/x11/xdialog/Makefile
index 607cd935239..817deb2916a 100644
--- a/x11/xdialog/Makefile
+++ b/x11/xdialog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/08/29 16:43:58 sborrill Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/07 21:36:24 joerg Exp $
#
DISTNAME= Xdialog-2.3.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xdialog.dyns.net/
COMMENT= X11 drop-in replacement for the curses dialog program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= msgfmt
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
@@ -20,16 +22,16 @@ EGDIR= ${PREFIX}/share/examples/xdialog
CHECK_PORTABILITY_SKIP+= samples/*
+INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.png ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.png ${DESTDIR}${DOCDIR}
for f in Xmessage Xmore buildlist calendar chain checklist \
dselect editbox fselect gauge infobox infobox2 inputbox \
logbox logbox2 login menubox msgbox radiolist rangebox \
tailbox textbox timebox treeview yesno; \
do \
- ${INSTALL_SCRIPT} ${WRKSRC}/samples/$${f} ${EGDIR}; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/samples/$${f} ${DESTDIR}${EGDIR}; \
done
.include "options.mk"