1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

update to 0.93.

PR:		ports/71375
Submitted by:	voise@tiscali.es
Approved by:	maintainer, mentor (vanilla)
This commit is contained in:
Cheng-Lung Sung 2004-10-12 03:45:42 +00:00
parent 116ac1d7b5
commit 3f876547de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118761
8 changed files with 1268 additions and 1084 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= amsn
PORTVERSION= 0.92
PORTVERSION= 0.93
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -23,13 +23,13 @@ BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/msn
WRKSRC= ${WRKDIR}/amsn-0_93
LIBDIR= ${PREFIX}/lib/msn
DOCSDIR= ${PREFIX}/share/doc/amsn
CORE= FAQ HELP README amsn jwakeup langlist amsn-remote remote.help \
CORE= FAQ HELP README amsn langlist amsn-remote remote.help \
*tcl *htm*
SUBDIR= icons lang skins plugins
SUBDIR= icons lang skins plugins utils docs
DOC_FILES= README TODO
post-extract:
@ -38,10 +38,8 @@ post-extract:
@${FIND} ${WRKSRC} -name .xvpics | ${XARGS} ${RM} -rf
do-configure:
export WISH=`which wish8.4` && ${SED} s=!!PREFIX!!=`dirname $${WISH}|${SED} sx/binxxg`=g ${FILESDIR}/Makefile.traydoc | ${SED} s=!!X11BASE!!=${X11BASE}=g > ${WRKSRC}/plugins/traydock/Makefile
do-build:
cd ${WRKSRC}/plugins/traydock && make && ${RM} Makefile
do-install:
@${MKDIR} ${LIBDIR}
@ -57,11 +55,10 @@ do-install:
.endif
post-install:
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" < ${FILESDIR}/amsn \
> ${PREFIX}/bin/amsn
${LN} -s ${PREFIX}/lib/msn/amsn ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn
@uudecode -o ${PREFIX}/lib/msn/skins/default/pixmaps/logolinmsn.gif \
${FILESDIR}/logolinmsn.gif.uue
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn-remote
@${CHMOD} 555 ${PREFIX}/lib/msn/utils/amsnctl.pl
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (amsn-0_92.tar.gz) = 1a4861b08e469cd86dda8bd19afcde7e
SIZE (amsn-0_92.tar.gz) = 2039934
MD5 (amsn-0_93.tar.gz) = dffc4bbd38f4fa63df481b89f7c89e7d
SIZE (amsn-0_93.tar.gz) = 2266580

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,19 @@
#! /bin/sh
## 'wish' is not recognized in FreeBSD
## we should use 'wish8.4' instead
## this script fixes the first line in amsn and alarm.tcl scripts
cd $WRKSRC
for i in alarm.tcl amsn
do
mv $i $i.orig
sed -e "s=/usr/bin/wish=$PREFIX/bin/wish8.4=" < $i.orig > $i
rm $i.orig
done
mv alarm.tcl alarm.tcl.orig
echo \#!$PREFIX/bin/wish8.4 > alarm.tcl
echo -n \#\#old: >> alarm.tcl
cat alarm.tcl.orig >> alarm.tcl
rm alarm.tcl.orig
mv amsn amsn.orig
echo \#!$PREFIX/bin/wish8.4 > amsn
echo -n \#\#old: >> amsn
cat amsn.orig >> amsn
rm amsn.orig

View File

@ -6,7 +6,7 @@
#
PORTNAME= amsn
PORTVERSION= 0.92
PORTVERSION= 0.93
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -23,13 +23,13 @@ BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/msn
WRKSRC= ${WRKDIR}/amsn-0_93
LIBDIR= ${PREFIX}/lib/msn
DOCSDIR= ${PREFIX}/share/doc/amsn
CORE= FAQ HELP README amsn jwakeup langlist amsn-remote remote.help \
CORE= FAQ HELP README amsn langlist amsn-remote remote.help \
*tcl *htm*
SUBDIR= icons lang skins plugins
SUBDIR= icons lang skins plugins utils docs
DOC_FILES= README TODO
post-extract:
@ -38,10 +38,8 @@ post-extract:
@${FIND} ${WRKSRC} -name .xvpics | ${XARGS} ${RM} -rf
do-configure:
export WISH=`which wish8.4` && ${SED} s=!!PREFIX!!=`dirname $${WISH}|${SED} sx/binxxg`=g ${FILESDIR}/Makefile.traydoc | ${SED} s=!!X11BASE!!=${X11BASE}=g > ${WRKSRC}/plugins/traydock/Makefile
do-build:
cd ${WRKSRC}/plugins/traydock && make && ${RM} Makefile
do-install:
@${MKDIR} ${LIBDIR}
@ -57,11 +55,10 @@ do-install:
.endif
post-install:
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" < ${FILESDIR}/amsn \
> ${PREFIX}/bin/amsn
${LN} -s ${PREFIX}/lib/msn/amsn ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn
@uudecode -o ${PREFIX}/lib/msn/skins/default/pixmaps/logolinmsn.gif \
${FILESDIR}/logolinmsn.gif.uue
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn-remote
@${CHMOD} 555 ${PREFIX}/lib/msn/utils/amsnctl.pl
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (amsn-0_92.tar.gz) = 1a4861b08e469cd86dda8bd19afcde7e
SIZE (amsn-0_92.tar.gz) = 2039934
MD5 (amsn-0_93.tar.gz) = dffc4bbd38f4fa63df481b89f7c89e7d
SIZE (amsn-0_93.tar.gz) = 2266580

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,19 @@
#! /bin/sh
## 'wish' is not recognized in FreeBSD
## we should use 'wish8.4' instead
## this script fixes the first line in amsn and alarm.tcl scripts
cd $WRKSRC
for i in alarm.tcl amsn
do
mv $i $i.orig
sed -e "s=/usr/bin/wish=$PREFIX/bin/wish8.4=" < $i.orig > $i
rm $i.orig
done
mv alarm.tcl alarm.tcl.orig
echo \#!$PREFIX/bin/wish8.4 > alarm.tcl
echo -n \#\#old: >> alarm.tcl
cat alarm.tcl.orig >> alarm.tcl
rm alarm.tcl.orig
mv amsn amsn.orig
echo \#!$PREFIX/bin/wish8.4 > amsn
echo -n \#\#old: >> amsn
cat amsn.orig >> amsn
rm amsn.orig