diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-22 17:58:50 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-09-22 17:58:50 +0000 |
commit | 3a115aa9164a19ca3ba14e90cdaba9288210ec10 (patch) | |
tree | 8395e9c2f914a3e369cd8f6de5e18c829ea6ccb3 /net/naim | |
parent | fix build on -current (machine/types.h no loner exists) (diff) |
1. add missing files into plist
2. properly use PORTDOCS in plist
PR: 43253 (1)
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'net/naim')
-rw-r--r-- | net/naim/Makefile | 7 | ||||
-rw-r--r-- | net/naim/files/patch-ltmain.sh | 25 | ||||
-rw-r--r-- | net/naim/pkg-plist | 11 |
3 files changed, 37 insertions, 6 deletions
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 |