aboutsummaryrefslogtreecommitdiff
path: root/net-im/aim/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-06-17 22:59:29 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-06-17 22:59:29 +0000
commit23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d (patch)
treefa03305e656151ebe33c7e94eacc947b13d1c273 /net-im/aim/Makefile
parentb347391f9ad81dd1ebc74b80d713888404b304bd (diff)
downloadports-23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d.tar.gz
ports-23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d.zip
Notes
Diffstat (limited to 'net-im/aim/Makefile')
-rw-r--r--net-im/aim/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-im/aim/Makefile b/net-im/aim/Makefile
index f4c3788f8cbf..8c4452148451 100644
--- a/net-im/aim/Makefile
+++ b/net-im/aim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= aim
PORTVERSION= 1.5.286
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net linux
MASTER_SITES= ftp://ftp.newaol.com/aimgen/380469/
DISTNAME= aim-${PORTVERSION}
@@ -19,15 +19,14 @@ 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
+USE_LINUX= yes
+USE_X_PREFIX= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
-PREFIX?= ${X11BASE}
-INSTALLS_SHLIB= yes
-# must not strip
-STRIP=
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec
+ ${BRANDELF} -t Linux ${PREFIX}/libexec/aim
(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
@@ -36,7 +35,7 @@ do-install:
${CHMOD} ${BINMODE} ${PREFIX}/bin/aim
post-install:
-.if !exists(/compat/linux/usr/bin/esdplay) && !exists(${PREFIX}/bin/esdplay)
+.if !exists(${LINUXBASE}/usr/bin/esdplay) && !exists(${PREFIX}/bin/esdplay)
@${ECHO_MSG} "-----------------------------------------------------------------"
@${ECHO_MSG} "Install audio/linux-esound or disable Sounds in aim's Preferences"
@${ECHO_MSG} "-----------------------------------------------------------------"