From 166e92758f40d243e8461dc9e51a7950a6d9c6fc Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 3 Nov 2006 07:12:24 +0000 Subject: DESTDIR support. --- chat/irssi/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'chat/irssi') diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile index 829cd78df9e..dde051ee567 100644 --- a/chat/irssi/Makefile +++ b/chat/irssi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2006/03/04 06:34:13 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2006/11/03 07:12:24 joerg Exp $ DISTNAME= ${IRSSI_DISTNAME} CATEGORIES= chat @@ -9,6 +9,8 @@ MAINTAINER= mutru@iki.fi HOMEPAGE= http://www.irssi.org/ COMMENT= Secure and modular IRC client with text mode user interface +PKG_DESTDIR_SUPPORT= user-destdir + .include "Makefile.common" GNU_CONFIGURE= yes @@ -31,7 +33,7 @@ CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf .include "../../devel/glib2/buildlink3.mk" post-install: - ${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H} - ${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG} + ${INSTALL_DATA} ${WRKSRC}/config.h ${DESTDIR}${IRSSI_CONFIG_H} + ${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3