blob: 4ec07342a5b606d6d811cf57d7f3c4abcadb97a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: amsn
# Date created: 01 Feb 2003
# Whom: Andreas Klemm <andreas@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= amsn
PORTVERSION= 0.94
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= MSN Messenger
LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib
BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
convert:${PORTSDIR}/graphics/ImageMagick \
${LOCALBASE}/lib/tls/tls.tcl:${PORTSDIR}/devel/tcltls \
${LOCALBASE}/lib/tcllib1.7/base64/base64.tcl:${PORTSDIR}/devel/tcllib
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/amsn-0_94
LIBDIR= ${PREFIX}/lib/msn
DOCSDIR= ${PREFIX}/share/doc/amsn
CORE= FAQ HELP README amsn langlist amsn-remote remote.help \
*tcl *htm*
SUBDIR= icons lang skins plugins utils docs
DOC_FILES= README TODO
post-extract:
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${RM} -rf
@${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}
@cd ${WRKSRC}; tar cf - ${CORE} | ( cd ${LIBDIR}; tar xpf - )
.for i in ${SUBDIR}
@cd ${WRKSRC}; tar cf - ${i} | ( cd ${LIBDIR}; tar xpf - )
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOC_FILES}
@${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install:
${LN} -s ${PREFIX}/lib/msn/amsn ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn-remote
@${CHMOD} 555 ${PREFIX}/lib/msn/utils/amsnctl.pl
@uudecode -o ${PREFIX}/lib/msn/skins/default/pixmaps/logolinmsn.gif \
${FILESDIR}/logolinmsn.gif.uue
.include <bsd.port.mk>
|