1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net/amsn/Makefile
Andreas Klemm 421791789b - Morten Østergaard created a nice demon logo to get rid of the penguin
- committed uuencoded version of the gif file, since cvs isn't that good
  in handline binaries
- in the post install section the old logo simply gets overwritten

Submitted by:	"Morten Østergaard" <webmaster@supermorten.dk>
2003-02-22 11:34:36 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: amsn
# Date created: 01 Feb 2003
# Whom: Andreas Klemm <andreas@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= amsn
PORTVERSION= 0.71
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.sourceforge.net/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= MSN Messenger
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
NO_BUILD= yes
WRKSRC= ${WRKDIR}/msn
USE_PERL5_BUILD=yes
LIBDIR= ${PREFIX}/lib/msn
DOCSDIR= ${PREFIX}/share/doc/amsn
CORE= FAQ HELP README amsn jwakeup langlist *tcl *htm*
SUBDIR= i lang s
DOC_FILES= LEEME TODO changelog
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:
@sed -e "s=!!PREFIX!!=${PREFIX}=" < ${FILESDIR}/amsn \
> ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/bin/amsn
@${CHMOD} 555 ${PREFIX}/lib/msn/amsn
@uudecode -o ${PREFIX}/lib/msn/i/logolinmsn.gif \
${FILESDIR}/logolinmsn.gif.uue
.include <bsd.port.mk>