diff options
Diffstat (limited to 'chat')
-rw-r--r-- | chat/irssi-icb/Makefile | 8 | ||||
-rw-r--r-- | chat/irssi/Makefile | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/chat/irssi-icb/Makefile b/chat/irssi-icb/Makefile index 9ac2c86030d..e48fa2fb291 100644 --- a/chat/irssi-icb/Makefile +++ b/chat/irssi-icb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/07/07 15:49:31 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2006/11/03 07:12:25 joerg Exp $ # DISTNAME= irssi-icb-0.14 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.irssi.org/ COMMENT= Irssi plugin to access ICB networks +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../chat/irssi/Makefile.common" WRKSRC= ${WRKDIR}/${IRSSI_DISTNAME}/${DISTNAME} @@ -24,6 +26,8 @@ SHLIBTOOL_OVERRIDE= # empty CONFIGURE_ARGS+= --with-irssi=${WRKDIR}/${IRSSI_DISTNAME} +INSTALLATION_DIRS+= share/doc/irssi + post-extract: cd ${WRKDIR} && ${LN} -s ${IRSSI_DISTNAME:S/a//} ${IRSSI_DISTNAME} ${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${IRSSI_DISTNAME} @@ -31,7 +35,7 @@ post-extract: ${CP} ${IRSSI_CONFIG} ${WRKDIR}/${IRSSI_DISTNAME}/irssi-config post-install: - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/irssi/README.icb + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/irssi/README.icb .include "../../devel/glib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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" |