aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-im/naim/Makefile7
-rw-r--r--net-im/naim/files/patch-ltmain.sh25
-rw-r--r--net-im/naim/pkg-plist11
-rw-r--r--net/naim/Makefile7
-rw-r--r--net/naim/files/patch-ltmain.sh25
-rw-r--r--net/naim/pkg-plist11
6 files changed, 74 insertions, 12 deletions
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 <bsd.port.mk>
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
diff --git a/net/naim/Makefile b/net/naim/Makefile
index edb8a7d8343f..6fcc2b8ec1d6 100644
--- a/net/naim/Makefile
+++ b/net/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 <bsd.port.mk>
diff --git a/net/naim/files/patch-ltmain.sh b/net/naim/files/patch-ltmain.sh
new file mode 100644
index 000000000000..996e351d9db8
--- /dev/null
+++ b/net/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/naim/pkg-plist b/net/naim/pkg-plist
index 7e80fb4e05a9..aec4b0995b88 100644
--- a/net/naim/pkg-plist
+++ b/net/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