pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/cftp + Include termcap.buildlink3.mk because this ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d79fd4c7ab7
branches:  trunk
changeset: 539700:3d79fd4c7ab7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Mar 11 16:22:32 2008 +0000

description:
+ Include termcap.buildlink3.mk because this packages uses termcap.

+ Support user-destdir installation.

Bump the PKGREVISION to 1.

diffstat:

 net/cftp/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 6ac6e58e2834 -r 3d79fd4c7ab7 net/cftp/Makefile
--- a/net/cftp/Makefile Tue Mar 11 16:20:35 2008 +0000
+++ b/net/cftp/Makefile Tue Mar 11 16:22:32 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2007/09/07 22:12:17 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/11 16:22:32 jlam Exp $
 #
 
 DISTNAME=      cftp-0.12
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://ftp.giga.or.at/pub/nih/cftp/ \
                ftp://ftp.giga.or.at/pub/nih/cftp/
@@ -10,14 +11,17 @@
 HOMEPAGE=      http://ftp.giga.or.at/pub/nih/cftp/
 COMMENT=       Comfortable FTP, a full screen ftp client
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 INFO_FILES=    # PLIST
 
 BUILD_DEFS+=   IPV6_READY
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cftp
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cftp
        cd ${WRKSRC} && ${INSTALL_MAN} README bindings.desc \
-               ${PREFIX}/share/doc/cftp
+               ${DESTDIR}${PREFIX}/share/doc/cftp
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index