summaryrefslogtreecommitdiff
path: root/x11/rxvt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/rxvt/Makefile')
-rw-r--r--x11/rxvt/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index bb00e183322..20edb019cc7 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/04/03 22:33:00 tonnerre Exp $
+# $NetBSD: Makefile,v 1.54 2009/07/07 18:16:00 joerg Exp $
DISTNAME= rxvt-2.7.10
PKGREVISION= 6
@@ -12,6 +12,7 @@ HOMEPAGE= http://sourceforge.net/projects/rxvt
COMMENT= Low memory usage xterm replacement that supports color
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_X11BASE= YES
GNU_CONFIGURE= YES
@@ -59,10 +60,11 @@ post-patch:
${SED} < ${WRKSRC}/src/feature.h.orig > ${WRKSRC}/src/feature.h \
-e "s:/usr/lib/X11/app-defaults:${PREFIX}/lib/X11/app-defaults:"
+INSTALLATION_DIRS= lib/X11/app-defaults
+
pre-install:
if [ ! -f ${PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults; \
- ${INSTALL_DATA} ${FILESDIR}/Rxvt ${PREFIX}/lib/X11/app-defaults; \
+ ${INSTALL_DATA} ${FILESDIR}/Rxvt ${DESTDIR}${PREFIX}/lib/X11/app-defaults; \
fi
.include "../../x11/libXpm/buildlink3.mk"