1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Import of libshhmsg version 1.4.0.

A library for displaying messages.

PR:		6473
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
Steve Price 1999-04-03 01:20:09 +00:00
parent 55f0c1d3b4
commit f99c7cc084
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17579
6 changed files with 87 additions and 0 deletions

27
devel/libshhmsg/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: libshhmsg
# Version required: 1.4.0
# Date created: 1 May 1998
# Whom: Andrey Zakhvatov
#
# $Id$
#
DISTNAME= shhmsg-1.4.0
PKGNAME= libshhmsg-1.4.0
CATEGORIES= devel
MASTER_SITES= http://home.sol.no/~sverrehu/pub-unix/files/
MAINTAINER= andy@icc.surw.chel.su
USE_GMAKE= yes
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/libshhmsg
.for file in CREDITS README shhmsg.txt
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/libshhmsg
.endfor
.endif
.include <bsd.port.mk>

1
devel/libshhmsg/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (shhmsg-1.4.0.tar.gz) = e4bfbcef3f067af49df865d2d40d0a5d

View File

@ -0,0 +1,46 @@
--- Makefile.orig Tue Oct 13 13:11:42 1998
+++ Makefile Fri Apr 2 15:33:32 1999
@@ -6,10 +6,10 @@
VERSION = $(VERMAJ).$(VERMIN).$(VERPAT)
# Define SHARED as 1 for Linux shared ELF library
-#SHARED = 1
+SHARED = 1
ifeq ($(SHARED),1)
-LIBTARGET = lib$(DIST).so.$(VERSION)
+LIBTARGET = lib$(DIST).so.$(VERMAJ)
LIBTARGETSO = lib$(DIST).so
LIBTARGETSOMAJ = $(LIBTARGETSO).$(VERMAJ)
CCSHRD = -fPIC
@@ -23,8 +23,8 @@
INSTBASEDIR = /usr/local
INSTLIBDIR = $(INSTBASEDIR)/lib
INSTINCDIR = $(INSTBASEDIR)/include
-INSTALL = install -m 644
-INSTALLPROG = install -m 755
+INSTALL = install -c -m 644
+INSTALLPROG = install -c -m 755
MKDIRP = install -d -m 755
CC = gcc
@@ -32,7 +32,7 @@
INCDIR = -I.
-CCOPT = -s -Wall $(OPTIM) $(INCDIR)
+CCOPT = -s -Wall $(OPTIM) $(INCDIR) -D_POSIX_SOURCE
# Object files to store in the library
LIBOBJS = vars.o streams.o progname.o \
@@ -59,9 +59,7 @@
$(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
$(INSTALL) $(LIBHEAD) $(INSTINCDIR)
ifeq ($(SHARED),1)
- ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSOMAJ)
- ln -sf $(LIBTARGETSOMAJ) $(INSTLIBDIR)/$(LIBTARGETSO)
- echo "If you use GNU/Linux, remember to run ldconfig"
+ ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSO)
endif
clean:

View File

@ -0,0 +1 @@
A library for displaying messages.

View File

@ -0,0 +1,3 @@
shhmsg - library for displaying messages. It contains
C-functions for error messages, verbose messages and
`normal' messages in terminalbased programs.

View File

@ -0,0 +1,9 @@
include/shhmsg.h
lib/libshhmsg.so
lib/libshhmsg.so.1
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/libshhmsg/CREDITS
share/doc/libshhmsg/README
share/doc/libshhmsg/shhmsg.txt
@dirrm share/doc/libshhmsg