3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
49 lines
1.5 KiB
Makefile
49 lines
1.5 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
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im 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= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX= yes
|
|
USE_XLIB= yes
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USE_LDCONFIG= yes
|
|
USE_LINUX_PREFIX= yes
|
|
PLIST_SUB= LINUXBASE=${LINUXBASE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${LINUXBASE}/usr/bin
|
|
${BRANDELF} -t Linux ${LINUXBASE}/usr/bin/aim
|
|
(cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${LINUXBASE}/usr/lib;exec ${TAR} -xpf -)
|
|
@${ECHO_CMD} "#!/bin/sh" >${PREFIX}/bin/aim
|
|
@${ECHO_CMD} "ulimit -Sc 0" >>${PREFIX}/bin/aim
|
|
@${ECHO_CMD} -n "exec ${LINUXBASE}/usr/bin/aim" >>${PREFIX}/bin/aim
|
|
@${ECHO_CMD} ' "$$@"' >>${PREFIX}/bin/aim
|
|
${CHMOD} ${BINMODE} ${PREFIX}/bin/aim
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !exists(${LINUXBASE}/usr/bin/esdplay) && !exists(${LOCALBASE}/bin/esdplay)
|
|
@${ECHO_MSG} "-----------------------------------------------------------------"
|
|
@${ECHO_MSG} "Install audio/linux-esound or disable Sounds in aim's Preferences"
|
|
@${ECHO_MSG} "-----------------------------------------------------------------"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|