1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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
This commit is contained in:
Jun Kuriyama 1998-11-22 02:01:55 +00:00
parent 6bc7608e59
commit f79458cfe7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14749
3 changed files with 26 additions and 8 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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