diff options
author | joerg <joerg> | 2009-07-07 21:34:53 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 21:34:53 +0000 |
commit | a51c66c52bd44318dd835d67f3806d3f430460f4 (patch) | |
tree | 46f82165c188fe68b6c832370c508b199ec78d8f /x11/xdialog | |
parent | 66e1dd012b958f6b69ed39ccb081e52aae618fd6 (diff) | |
download | pkgsrc-a51c66c52bd44318dd835d67f3806d3f430460f4.tar.gz |
user-destdir support
Diffstat (limited to 'x11/xdialog')
-rw-r--r-- | x11/xdialog/Makefile | 12 |
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" |