From 3a115aa9164a19ca3ba14e90cdaba9288210ec10 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 22 Sep 2002 17:58:50 +0000 Subject: 1. add missing files into plist 2. properly use PORTDOCS in plist PR: 43253 (1) Submitted by: Edwin Groothuis --- net-im/naim/Makefile | 7 ++++--- net-im/naim/files/patch-ltmain.sh | 25 +++++++++++++++++++++++++ net-im/naim/pkg-plist | 11 ++++++++--- 3 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 net-im/naim/files/patch-ltmain.sh (limited to 'net-im') diff --git a/net-im/naim/Makefile b/net-im/naim/Makefile index edb8a7d8343f..6fcc2b8ec1d6 100644 --- a/net-im/naim/Makefile +++ b/net-im/naim/Makefile @@ -7,6 +7,7 @@ PORTNAME= naim PORTVERSION= 0.11.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://rpi-acm.org/~n/dev.n.ml.org/ \ http://www.acm.rpi.edu/~n/dev.n.ml.org/ @@ -19,9 +20,9 @@ MAN1= naim.1 post-install: .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/naim - @ ${INSTALL_DATA} ${WRKSRC}/doc/naim.hlp ${PREFIX}/share/doc/naim/ - @ ${INSTALL_DATA} ${WRKSRC}/doc/COLORS ${PREFIX}/share/doc/naim/ + @ ${MKDIR} ${DOCSDIR} + @ ${INSTALL_DATA} ${WRKSRC}/doc/naim.hlp ${DOCSDIR} + @ ${INSTALL_DATA} ${WRKSRC}/doc/COLORS ${DOCSDIR} .endif .include diff --git a/net-im/naim/files/patch-ltmain.sh b/net-im/naim/files/patch-ltmain.sh new file mode 100644 index 000000000000..996e351d9db8 --- /dev/null +++ b/net-im/naim/files/patch-ltmain.sh @@ -0,0 +1,25 @@ +--- ltmain.sh.orig Mon Sep 23 01:54:26 2002 ++++ ltmain.sh Mon Sep 23 01:55:41 2002 +@@ -2444,6 +2444,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4210,10 +4213,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/net-im/naim/pkg-plist b/net-im/naim/pkg-plist index 7e80fb4e05a9..aec4b0995b88 100644 --- a/net-im/naim/pkg-plist +++ b/net-im/naim/pkg-plist @@ -1,4 +1,9 @@ bin/naim -share/doc/naim/naim.hlp -share/doc/naim/COLORS -@dirrm share/doc/naim +lib/naim/libnsocket.so +lib/naim/libnsocket.so.0 +lib/naim/libnmp3.so +lib/naim/libnmp3.so.0 +@dirrm lib/naim +%%PORTDOCS%%share/doc/naim/naim.hlp +%%PORTDOCS%%share/doc/naim/COLORS +%%PORTDOCS%%@dirrm share/doc/naim -- cgit v1.2.3