pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/minicom Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c52fb3e77b0
branches:  trunk
changeset: 394172:9c52fb3e77b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 06 21:30:30 2009 +0000

description:
Convert to user-destdir.

diffstat:

 comms/minicom/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 23791586999e -r 9c52fb3e77b0 comms/minicom/Makefile
--- a/comms/minicom/Makefile    Sat Jun 06 21:21:44 2009 +0000
+++ b/comms/minicom/Makefile    Sat Jun 06 21:30:30 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2007/07/04 20:54:34 jlam Exp $
+# $NetBSD: Makefile,v 1.57 2009/06/06 21:30:30 wiz Exp $
 
 DISTNAME=      minicom-2.1
 PKGREVISION=   3
@@ -12,7 +12,9 @@
 DEPENDS+=      gkermit-[0-9]*:../../comms/gkermit
 DEPENDS+=      lrzsz-[0-9]*:../../comms/lrzsz
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+INSTALLATION_DIRS=     share/examples/minicom
 
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake msgfmt
@@ -44,8 +46,7 @@
 SUBST_VARS.minicom=    PREFIX GKERMIT_PREFIX LRZSZ_PREFIX
 
 post-install:
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/minicom.users ${DESTDIR}${EGDIR}
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index