summaryrefslogtreecommitdiff
path: root/x11/xbanner
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:00:16 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:00:16 +0000
commit9720c9b1404ccf81c6ff4fbac8aa7f647a0682ab (patch)
tree2b7ebf0c88488d009f829a0e6efc5682c31ababc /x11/xbanner
parentd1e792e8b2f90e8dd1f099d5eaffd2c8fe01de1a (diff)
downloadpkgsrc-9720c9b1404ccf81c6ff4fbac8aa7f647a0682ab.tar.gz
user-destdir support
Diffstat (limited to 'x11/xbanner')
-rw-r--r--x11/xbanner/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile
index cd13ffd8f2c..cc9b47372a5 100644
--- a/x11/xbanner/Makefile
+++ b/x11/xbanner/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/01/19 09:16:26 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2009/07/07 18:00:16 joerg Exp $
DISTNAME= XBanner1.31
PKGNAME= xbanner-1.31
@@ -10,26 +10,26 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hijinks.com/~spade/linux/XBanner/
COMMENT= Make XDM login screen look pretty
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
DOCDIR= ${PREFIX}/share/doc/xbanner
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin lib/X11/app-defaults ${DOCDIR}
do-install:
for f in freetemp random_effect xb_check xbanner; do \
- ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xbanner
for f in Changes.txt Credits.txt Resource_Reference.html \
XBanner_Users_Manual.html email.gif fonttips.html \
index.html red_line.gif rnd_doc.html stars.gif \
xb_check.html; do \
- ${INSTALL_DATA} ${WRKSRC}/docs/$$f ${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/docs/$$f ${DESTDIR}${DOCDIR}; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \
- ${PREFIX}/lib/X11/app-defaults/XBanner
+ ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XBanner
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"