diff options
author | joerg <joerg> | 2007-08-30 13:05:45 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-30 13:05:45 +0000 |
commit | cdde8ab468f0f51028924858ee6eed2354d664bb (patch) | |
tree | c4c8bc4e15e4dd3920a2175b05620a96160da5b0 /chat/amsn | |
parent | 1f6e864ee4ba205b06c002a6f34a92be8c269562 (diff) | |
download | pkgsrc-cdde8ab468f0f51028924858ee6eed2354d664bb.tar.gz |
Fix interpreter pathes and add dependency on Perl and bash as
they are used. Bump revision.
Diffstat (limited to 'chat/amsn')
-rw-r--r-- | chat/amsn/Makefile | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/chat/amsn/Makefile b/chat/amsn/Makefile index ca9be4c4907..a14a263e7fb 100644 --- a/chat/amsn/Makefile +++ b/chat/amsn/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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" |