diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-23 01:58:50 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-23 01:58:50 +0800 |
commit | 85e692ec61895d9ce867af052d4ce793334490fd (patch) | |
tree | 49e3562987e537480f880bdd4a78d36a43764039 /net/naim | |
parent | 990526e40086fc5c1d6bdbd29dd5e35273e42f5a (diff) | |
download | freebsd-ports-gnome-85e692ec61895d9ce867af052d4ce793334490fd.tar.gz freebsd-ports-gnome-85e692ec61895d9ce867af052d4ce793334490fd.tar.zst freebsd-ports-gnome-85e692ec61895d9ce867af052d4ce793334490fd.zip |
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 |