pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Added PKG_DESTDIR_SUPPORT=user-destdir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/144e263cf766
branches:  trunk
changeset: 558695:144e263cf766
user:      martti <martti%pkgsrc.org@localhost>
date:      Tue May 12 11:09:26 2009 +0000

description:
Added PKG_DESTDIR_SUPPORT=user-destdir

diffstat:

 mail/clamsmtp/Makefile        |   9 +++++----
 net/corkscrew/Makefile        |   8 +++++---
 security/keychain/Makefile    |  13 ++++++++-----
 www/p5-URI-Escape-XS/Makefile |   4 +++-
 4 files changed, 21 insertions(+), 13 deletions(-)

diffs (107 lines):

diff -r b57d56a2c042 -r 144e263cf766 mail/clamsmtp/Makefile
--- a/mail/clamsmtp/Makefile    Tue May 12 09:08:49 2009 +0000
+++ b/mail/clamsmtp/Makefile    Tue May 12 11:09:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2009/03/22 11:21:04 martti Exp $
+# $NetBSD: Makefile,v 1.40 2009/05/12 11:09:26 martti Exp $
 
 DISTNAME=              clamsmtp-1.10
 #PKGREVISION=          1
@@ -11,11 +11,12 @@
 #LICENSE=              modified-bsd
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         yes
 RCD_SCRIPTS=           clamsmtpd
 
-MESSAGE_SUBST+=                HOMEPAGE=${HOMEPAGE}
+MESSAGE_SUBST+=                HOMEPAGE=${HOMEPAGE:Q}
 FILES_SUBST+=          CLAMAV_USER=${CLAMAV_USER}
 
 # Doesn't work with GNU pth (missing required mutex features)
@@ -30,8 +31,8 @@
 PKG_USERS_VARS=                CLAMAV_USER
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR}
-       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${DESTDIR}${EGDIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${DESTDIR}${EGDIR}
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b57d56a2c042 -r 144e263cf766 net/corkscrew/Makefile
--- a/net/corkscrew/Makefile    Tue May 12 09:08:49 2009 +0000
+++ b/net/corkscrew/Makefile    Tue May 12 11:09:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/10/30 19:31:41 martti Exp $
+# $NetBSD: Makefile,v 1.6 2009/05/12 11:09:26 martti Exp $
 
 DISTNAME=      corkscrew-2.0
 CATEGORIES=    net
@@ -9,10 +9,12 @@
 COMMENT=       Tool for tunneling SSH through HTTP proxies
 #LICENSE=      gnu-gpl-v2
 
+INSTALLATION_DIRS=     share/doc/corkscrew
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/corkscrew
-       ${INSTALL_DATA} ${WRKSRC:Q}/README ${PREFIX:Q}/share/doc/corkscrew
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/corkscrew
 
 .include "../../mk/bsd.pkg.mk"
diff -r b57d56a2c042 -r 144e263cf766 security/keychain/Makefile
--- a/security/keychain/Makefile        Tue May 12 09:08:49 2009 +0000
+++ b/security/keychain/Makefile        Tue May 12 11:09:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/10/30 19:31:42 martti Exp $
+# $NetBSD: Makefile,v 1.25 2009/05/12 11:09:26 martti Exp $
 
 DISTNAME=      keychain-2.6.8
 CATEGORIES=    security
@@ -15,14 +15,17 @@
 .endif
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 NO_BUILD=              yes
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR:Q}/man1 share/doc/${PKGBASE:Q}
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC:Q}/keychain ${PREFIX:Q}/bin
-       ${INSTALL_MAN} ${WRKSRC:Q}/keychain.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1
-       ${INSTALL_DATA} ${WRKSRC:Q}/README ${PREFIX:Q}/share/doc/${PKGBASE:Q}
+       ${INSTALL_SCRIPT} ${WRKSRC}/keychain ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/keychain.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${WRKSRC}/README \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
 
 .include "../../mk/bsd.pkg.mk"
diff -r b57d56a2c042 -r 144e263cf766 www/p5-URI-Escape-XS/Makefile
--- a/www/p5-URI-Escape-XS/Makefile     Tue May 12 09:08:49 2009 +0000
+++ b/www/p5-URI-Escape-XS/Makefile     Tue May 12 11:09:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/04/29 22:47:35 sno Exp $
+# $NetBSD: Makefile,v 1.4 2009/05/12 11:09:26 martti Exp $
 
 DISTNAME=      URI-Escape-XS-0.05
 PKGNAME=       p5-${DISTNAME}
@@ -12,6 +12,8 @@
 
 DEPENDS+=      p5-URI>=1.35:../../www/p5-URI
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 PERL5_PACKLIST=        auto/URI/Escape/XS/.packlist
 
 .include "../../lang/perl5/module.mk"



Home | Main Index | Thread Index | Old Index