1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net-im/aim/Makefile
Pav Lucistnik 268f388aef - Fix install.
Pointy hat to:	pav
2003-12-14 12:15:48 +00:00

46 lines
1.4 KiB
Makefile

# New ports collection makefile for: aim
# Date created: Sat Jan 13 12:40:20 GMT 2001
# Whom: Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= aim
PORTVERSION= 1.5.286
CATEGORIES= net linux
MASTER_SITES= ftp://ftp.newaol.com/aimgen/380469/
DISTNAME= aim-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= AOL's Instant Messenger (AIM) client
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
/compat/linux/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_XLIB= yes
# must not strip
STRIP=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec
(cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${PREFIX}/lib;exec ${TAR} -xpf -)
@${ECHO_CMD} "#!/bin/sh" >${PREFIX}/bin/aim
@${ECHO_CMD} "ulimit -Sc 0" >>${PREFIX}/bin/aim
@${ECHO_CMD} -n "exec ${PREFIX}/libexec/aim --install_dir ${PREFIX}/lib/aim" >>${PREFIX}/bin/aim
@${ECHO_CMD} ' "$$@"' >>${PREFIX}/bin/aim
${CHMOD} ${BINMODE} ${PREFIX}/bin/aim
post-install:
.if !exists(/compat/linux/usr/bin/esdplay) && !exists(${PREFIX}/bin/esdplay)
@${ECHO_MSG} "-----------------------------------------------------------------"
@${ECHO_MSG} "Install audio/linux-esound or disable Sounds in aim's Preferences"
@${ECHO_MSG} "-----------------------------------------------------------------"
.endif
.include <bsd.port.mk>