From 39d7fb93432416d872ed34e0025741cc93068c06 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- chat/climm/Makefile | 4 +++- chat/dircproxy-devel/Makefile | 4 +++- chat/dircproxy/Makefile | 4 +++- chat/p5-Net-AIM/Makefile | 4 +++- chat/p5-Net-AOLIM/Makefile | 6 ++++-- chat/p5-Net-Goofey/Makefile | 4 +++- chat/p5-Net-ICQ2000/Makefile | 4 +++- chat/p5-Net-Jabber/Makefile | 4 +++- chat/p5-POE-Component-IRC/Makefile | 3 ++- chat/p5-POE-Filter-IRCD/Makefile | 3 ++- chat/pidgin-otr/Makefile | 6 ++++-- chat/psi/Makefile | 22 +++++++++++++--------- 12 files changed, 46 insertions(+), 22 deletions(-) (limited to 'chat') diff --git a/chat/climm/Makefile b/chat/climm/Makefile index 1ffba6d93ee..942e79aeafa 100644 --- a/chat/climm/Makefile +++ b/chat/climm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2008/03/01 21:14:11 mjl Exp $ +# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= climm-0.6.2 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.climm.org/source/ COMMENT= Text-mode ICQ client +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake GNU_CONFIGURE= yes USE_LANGUAGES= c c++ diff --git a/chat/dircproxy-devel/Makefile b/chat/dircproxy-devel/Makefile index 8de37088b0d..0bac1104a3b 100644 --- a/chat/dircproxy-devel/Makefile +++ b/chat/dircproxy-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/01/18 05:06:22 tnn Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:16 joerg Exp $ DISTNAME= dircproxy-1.2.0-beta2 PKGNAME= ${DISTNAME:S/-beta/beta/} @@ -11,6 +11,8 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://dircproxy.securiweb.net/ COMMENT= Detachable internet relay chat proxy server (devel version) +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= perl:run diff --git a/chat/dircproxy/Makefile b/chat/dircproxy/Makefile index d33d388d733..07091b03c6b 100644 --- a/chat/dircproxy/Makefile +++ b/chat/dircproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/11/18 10:30:42 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:16 joerg Exp $ DISTNAME= dircproxy-1.0.5 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= sb125499@ohiou.edu HOMEPAGE= http://dircproxy.securiweb.net/ COMMENT= Detachable internet relay chat proxy server +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= perl:run diff --git a/chat/p5-Net-AIM/Makefile b/chat/p5-Net-AIM/Makefile index c376e5d421b..260351e4d82 100644 --- a/chat/p5-Net-AIM/Makefile +++ b/chat/p5-Net-AIM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/03/24 06:21:01 schmonz Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= Net-AIM-1.22 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.aryeh.net/netaim.php COMMENT= Implementation of the AOL Instant Messenger TOC protocol +PKG_DESTDIR_SUPPORT= user-destdir + PERL5_PACKLIST= auto/Net/AIM/.packlist .include "../../lang/perl5/module.mk" diff --git a/chat/p5-Net-AOLIM/Makefile b/chat/p5-Net-AOLIM/Makefile index c35786b8df5..6301be4cff8 100644 --- a/chat/p5-Net-AOLIM/Makefile +++ b/chat/p5-Net-AOLIM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/03/24 06:14:55 schmonz Exp $ +# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= Net-AOLIM-1.5 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.phonon.net/pub/Net-AOLIM/ COMMENT= Perl5 module for connecting to AOL IM (TOC protocol) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/Net-AOLIM PERL5_PACKLIST= auto/Net/AOLIM/.packlist REPLACE_PERL+= AOLIM-example.pl @@ -25,7 +27,7 @@ pre-configure: ${MV} ${WRKSRC}/example.pl ${WRKSRC}/AOLIM-example.pl post-install: - ${INSTALL_MAN} ${WRKSRC}/TOC.7 ${PREFIX}/${PKGMANDIR}/man7 + ${INSTALL_MAN} ${WRKSRC}/TOC.7 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7 .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/chat/p5-Net-Goofey/Makefile b/chat/p5-Net-Goofey/Makefile index 7c781c91cc8..dc79c5b351b 100644 --- a/chat/p5-Net-Goofey/Makefile +++ b/chat/p5-Net-Goofey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/10/04 20:50:47 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= Net-Goofey-1.5 @@ -11,6 +11,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://notdoneliving.net/code/ COMMENT= Perl module for communicating with a Goofey server +PKG_DESTDIR_SUPPORT= user-destdir + PERL5_PACKLIST= auto/Net/Goofey/.packlist # Requires the user to enter a username/password diff --git a/chat/p5-Net-ICQ2000/Makefile b/chat/p5-Net-ICQ2000/Makefile index 25ed2200615..c3474b89757 100644 --- a/chat/p5-Net-ICQ2000/Makefile +++ b/chat/p5-Net-ICQ2000/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2007/11/18 10:30:42 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= Net-ICQ2000-0.2.1 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gonzo.kiev.ua/projects/vicq.old/ COMMENT= Perl5 modules for the ICQv7 protocol realisation +PKG_DESTDIR_SUPPORT= user-destdir + PERL5_PACKLIST= auto/Net/ICQ2000/.packlist .include "../../lang/perl5/module.mk" diff --git a/chat/p5-Net-Jabber/Makefile b/chat/p5-Net-Jabber/Makefile index 62654318691..5211555c733 100644 --- a/chat/p5-Net-Jabber/Makefile +++ b/chat/p5-Net-Jabber/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/03/04 21:29:04 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= Net-Jabber-1.26 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.jabber.org/ COMMENT= Provide a Perl Developer access to the Jabber protocol +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-Unicode-String-[0-9]*:../../converters/p5-Unicode-String DEPENDS+= p5-XML-Stream-[0-9]*:../../textproc/p5-XML-Stream DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1 diff --git a/chat/p5-POE-Component-IRC/Makefile b/chat/p5-POE-Component-IRC/Makefile index d2debf241dd..a599a429bc6 100644 --- a/chat/p5-POE-Component-IRC/Makefile +++ b/chat/p5-POE-Component-IRC/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/12/05 20:49:54 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= POE-Component-IRC-4.71 @@ -17,6 +17,7 @@ DEPENDS+= p5-POE-Component-Client-Ident-[0-9]*:../../net/p5-POE-Component-Client DEPENDS+= p5-POE-Filter-IRCD-[0-9]*:../../chat/p5-POE-Filter-IRCD PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir PERL5_PACKLIST= auto/POE/Component/IRC/.packlist diff --git a/chat/p5-POE-Filter-IRCD/Makefile b/chat/p5-POE-Filter-IRCD/Makefile index e015355b966..b6abb8d2320 100644 --- a/chat/p5-POE-Filter-IRCD/Makefile +++ b/chat/p5-POE-Filter-IRCD/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/08/06 06:19:04 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:16 joerg Exp $ # DISTNAME= POE-Filter-IRCD-1.1 @@ -14,6 +14,7 @@ COMMENT= POE-based parser for the IRC protocol DEPENDS+= p5-POE>=0.17:../../devel/p5-POE PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir PERL5_PACKLIST= auto/POE/Filter/IRCD/.packlist diff --git a/chat/pidgin-otr/Makefile b/chat/pidgin-otr/Makefile index b67172913c4..c1e4f8ecdae 100644 --- a/chat/pidgin-otr/Makefile +++ b/chat/pidgin-otr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/05/30 12:29:00 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:16 joerg Exp $ VERSION= 3.1.0 PKGREVISION= 3 @@ -10,12 +10,14 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://www.cypherpunks.ca/otr/ COMMENT= Plugin for pidgin to add OTR (Off-The-Record) encryption +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes INSTALLATION_DIRS= share/doc/pidgin-otr USE_TOOLS+= pkg-config perl intltool msgfmt post-install: - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pidgin-otr/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pidgin-otr/ .include "../../chat/pidgin/buildlink3.mk" .include "../../chat/libotr/buildlink3.mk" diff --git a/chat/psi/Makefile b/chat/psi/Makefile index 5dd19849589..364200e2028 100644 --- a/chat/psi/Makefile +++ b/chat/psi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2007/12/21 00:22:49 jdolecek Exp $ +# $NetBSD: Makefile,v 1.53 2008/06/12 02:14:16 joerg Exp $ PSI_VERSION= 0.11 DISTNAME= psi-${PSI_VERSION} @@ -11,6 +11,8 @@ MAINTAINER= jdolecek@NetBSD.org HOMEPAGE= http://psi-im.org/ COMMENT= PSI Jabber Client +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= qca2-ossl>=2.0.0beta3:../../security/qca2-ossl DIST_SUBDIR= ${DISTNAME}-20071115-1 @@ -41,19 +43,21 @@ SITES.${l}= http://psi-im.org/files/translation/${PSI_VERSION}/ .endfor INSTALLATION_DIRS= bin share/psi share/doc/psi +INSTALL_DIRS= src +INSTALL_TARGET= install_target install_sharedfiles +INSTALL_MAKE_FLAGS= INSTALL_ROOT=${DESTDIR} # custom install targets, we don't want psi to install the desktop & icon # stuff -do-install: - cd ${WRKSRC}/src && ${MAKE} install_target install_sharedfiles - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/psi - ${RM} ${PREFIX}/share/psi/README - ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/psi - ${RM} ${PREFIX}/share/psi/COPYING +post-install: + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/psi + ${RM} ${DESTDIR}${PREFIX}/share/psi/README + ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/psi + ${RM} ${DESTDIR}${PREFIX}/share/psi/COPYING .for f in ${LANG_FILES} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${PREFIX}/share/psi + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${DESTDIR}${PREFIX}/share/psi .endfor - ${INSTALL_PROGRAM} ${WRKSRC}/psi ${PREFIX}/bin/psi + ${INSTALL_PROGRAM} ${WRKSRC}/psi ${DESTDIR}${PREFIX}/bin/psi .include "../../devel/libidn/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -- cgit v1.2.3