diff options
author | pav <pav@FreeBSD.org> | 2006-05-20 05:45:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-05-20 05:45:19 +0800 |
commit | 8c46eaabae90b38da231ef75e5ef0e681f339051 (patch) | |
tree | f6c50be8fe549e26942011bb8aac1d55628daf1b /net-im | |
parent | 6ae7c15f85d381a343b9d7f94f550d4723c68848 (diff) | |
download | freebsd-ports-gnome-8c46eaabae90b38da231ef75e5ef0e681f339051.tar.gz freebsd-ports-gnome-8c46eaabae90b38da231ef75e5ef0e681f339051.tar.zst freebsd-ports-gnome-8c46eaabae90b38da231ef75e5ef0e681f339051.zip |
- Fix runtime. Install libraries into Linuxbase, so it have a chance of
finding them
PR: ports/97429
Submitted by: Eric P. Scott <eps+pbug0605@ana.com>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/aim/Makefile | 21 | ||||
-rw-r--r-- | net-im/aim/pkg-plist | 3 |
2 files changed, 15 insertions, 9 deletions
diff --git a/net-im/aim/Makefile b/net-im/aim/Makefile index 1d782cd76c90..996cd4b63a9f 100644 --- a/net-im/aim/Makefile +++ b/net-im/aim/Makefile @@ -7,7 +7,7 @@ PORTNAME= aim PORTVERSION= 1.5.286 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im linux MASTER_SITES= ftp://ftp.newaol.com/aimgen/380469/ DISTNAME= aim-${PORTVERSION} @@ -18,27 +18,32 @@ 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 +ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes USE_X_PREFIX= yes NO_WRKSUBDIR= yes NO_BUILD= yes +INSTALLS_SHLIB= yes +USE_LINUX_PREFIX= yes +PLIST_SUB= LINUXBASE=${LINUXBASE} 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 -) + ${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 ${PREFIX}/libexec/aim --install_dir ${PREFIX}/lib/aim" >>${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(${PREFIX}/bin/esdplay) +.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.mk> +.include <bsd.port.post.mk> diff --git a/net-im/aim/pkg-plist b/net-im/aim/pkg-plist index 71c2df2370c2..2c7548843535 100644 --- a/net-im/aim/pkg-plist +++ b/net-im/aim/pkg-plist @@ -1,4 +1,6 @@ bin/aim +@cwd %%LINUXBASE%%/usr +bin/aim lib/libXpcs.so lib/libXpcs.so.1 lib/libXprt.so @@ -127,7 +129,6 @@ lib/aim/sounds/ring.wav lib/aim/sounds/talkbeg.wav lib/aim/sounds/talkend.wav lib/aim/sounds/talkstop.wav -libexec/aim @dirrm lib/aim/extra @dirrm lib/aim/help/images @dirrm lib/aim/help |