diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-11-22 02:01:55 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-11-22 02:01:55 +0000 |
commit | f79458cfe712cec3759a604e2021d41e5bd7139e (patch) | |
tree | 218b18187f129bb8b867927d5080907f2c714f9c /net/libsocket++ | |
parent | Commit a patch for this I've been sitting on for a while. (diff) |
Add section and entry into ${PREFIX}/info/dir and portlint.
PR: ports/8135
Submitted by: Gregory D. Moncreaff <moncrg@ma.ultranet.com>
Portlint by: myself
Notes
Notes:
svn path=/head/; revision=14749
Diffstat (limited to 'net/libsocket++')
-rw-r--r-- | net/libsocket++/Makefile | 9 | ||||
-rw-r--r-- | net/libsocket++/files/patch-ac | 13 | ||||
-rw-r--r-- | net/libsocket++/pkg-plist | 12 |
3 files changed, 26 insertions, 8 deletions
diff --git a/net/libsocket++/Makefile b/net/libsocket++/Makefile index 27bd076650f8..781a5ce5c85c 100644 --- a/net/libsocket++/Makefile +++ b/net/libsocket++/Makefile @@ -5,7 +5,7 @@ # Whom: Narvi <narvi@haldjas.folklore.ee> # David O'Brien (obrien@FreeBSD.org) # -# $Id: Makefile,v 1.3 1998/01/07 11:11:48 obrien Exp $ +# $Id: Makefile,v 1.4 1998/10/10 03:23:40 steve Exp $ # DISTNAME= socket++-1.10 @@ -15,7 +15,6 @@ MASTER_SITES= ftp://ftp.umsicht.fhg.de/pub/unix/language/C++/class-libraries/ \ ftp://ftp.par.univie.ac.at/pub/unix/c++/ \ ftp://jungfrau.ptf.hro.nl/pub/socket/ - MAINTAINER= narvi@haldjas.folklore.ee GNU_CONFIGURE= yes @@ -24,6 +23,11 @@ GNU_CONFIGURE= yes post-configure: @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile +pre-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + post-install: @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .if !defined(NOPORTDOCS) @@ -31,5 +35,6 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++ ${INSTALL_MAN} ${WRKSRC}/socket++.ps ${PREFIX}/share/doc/libsocket++ .endif + @install-info ${PREFIX}/info/socket++.info ${PREFIX}/info/dir .include <bsd.port.mk> diff --git a/net/libsocket++/files/patch-ac b/net/libsocket++/files/patch-ac new file mode 100644 index 000000000000..bfcb78439dbd --- /dev/null +++ b/net/libsocket++/files/patch-ac @@ -0,0 +1,13 @@ +--- socket++.texi.orig Wed Oct 18 09:07:35 1995 ++++ socket++.texi Sat Nov 21 22:31:28 1998 +@@ -10,6 +10,10 @@ + @end iftex + + @ifinfo ++@dircategory Programming & development tools ++@direntry ++* socket++: (socket++.info). C++ family of socket classes. ++@end direntry + This info file describes the C++ family of socket classes. + + Copyright (C) 1992,1993,1994 Gnanasekaran Swaminathan <gs4t@@virginia.edu> diff --git a/net/libsocket++/pkg-plist b/net/libsocket++/pkg-plist index c905393255cf..a7e88b0b5780 100644 --- a/net/libsocket++/pkg-plist +++ b/net/libsocket++/pkg-plist @@ -4,14 +4,14 @@ lib/libsocket++_p.a @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R include/Fork.h -include/echo.h +include/echo.h include/ftp.h -include/pipestream.h +include/pipestream.h include/protocol.h -include/smtp.h -include/sockinet.h -include/sockstream.h -include/sockunix.h +include/smtp.h +include/sockinet.h +include/sockstream.h +include/sockunix.h @unexec install-info --delete %D/info/socket++.info %D/info/dir info/socket++.info @exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir |