pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/amsn Fix interpreter pathes and add dependency on...
details: https://anonhg.NetBSD.org/pkgsrc/rev/86053d2eb8e6
branches: trunk
changeset: 532756:86053d2eb8e6
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 30 13:05:45 2007 +0000
description:
Fix interpreter pathes and add dependency on Perl and bash as
they are used. Bump revision.
diffstat:
chat/amsn/Makefile | 37 ++++++++++++++++++++++++++++---------
1 files changed, 28 insertions(+), 9 deletions(-)
diffs (59 lines):
diff -r 54918f36bf0e -r 86053d2eb8e6 chat/amsn/Makefile
--- a/chat/amsn/Makefile Thu Aug 30 12:23:45 2007 +0000
+++ b/chat/amsn/Makefile Thu Aug 30 13:05:45 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2007/05/18 10:03:30 peter Exp $
+# $NetBSD: Makefile,v 1.9 2007/08/30 13:05:45 joerg Exp $
#
DISTNAME= amsn-0_94
PKGNAME= ${DISTNAME:S/_/./}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=amsn/}
@@ -11,17 +11,36 @@
HOMEPAGE= http://www.amsn-project.net/
COMMENT= "Alvaro's MSN messenger client"
-NO_CONFIGURE= YES
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= YES
INSTALLATION_DIRS= bin
+USE_TOOLS+= perl:run bash:run
+
+REPLACE_INTERPRETER+= sys-WISH
+REPLACE.sys-WISH.old= .*wish
+REPLACE.sys-WISH.new= ${PREFIX}/bin/wish
+REPLACE_FILES.sys-WISH= alarm.tcl blocking.tcl skins.tcl amsn-remote
+
+REPLACE_INTERPRETER+= sys-TCLSH
+REPLACE.sys-TCLSH.old= .*tclsh
+REPLACE.sys-TCLSH.new= ${PREFIX}/bin/tclsh
+REPLACE_FILES.sys-TCLSH=amsn-remote-CLI lang/convert.tcl
+
+REPLACE_PERL= utils/amsnctl.pl lang/complete.pl
+REPLACE_BASH= utils/update-amsn.sh
+
+INSTALLATION_DIRS= share/amsn share/pixmaps
+
+do-configure:
+ @${DO_NADA}
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/amsn
- ${CP} -R ${WRKSRC}/* ${PREFIX}/share/amsn
- ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
- ${CP} -R ${WRKSRC}/icons/32x32/* ${PREFIX}/share/pixmaps
- ${LN} -sf ${PREFIX}/share/amsn/amsn ${PREFIX}/bin/amsn
- ${CHMOD} +x ${PREFIX}/share/amsn/amsn
+ ${CP} -R ${WRKSRC}/* ${DESTDIR}${PREFIX}/share/amsn
+ ${CP} -R ${WRKSRC}/icons/32x32/* ${DESTDIR}${PREFIX}/share/pixmaps
+ ${LN} -sf ${PREFIX}/share/amsn/amsn ${DESTDIR}${PREFIX}/bin/amsn
+ ${CHMOD} +x ${DESTDIR}${PREFIX}/share/amsn/amsn
.include "../../security/tcl-tls/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index