diff options
author | steve <steve@FreeBSD.org> | 1999-04-03 09:20:09 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-04-03 09:20:09 +0800 |
commit | d7d45ff2e2fcd4b70f7e00f5b2a029a19a896999 (patch) | |
tree | c0df773790193df345c44c454161d187dd1a4518 | |
parent | a83407145de47c45f7f245c287fefc68ff67370e (diff) | |
download | freebsd-ports-graphics-d7d45ff2e2fcd4b70f7e00f5b2a029a19a896999.tar.gz freebsd-ports-graphics-d7d45ff2e2fcd4b70f7e00f5b2a029a19a896999.tar.zst freebsd-ports-graphics-d7d45ff2e2fcd4b70f7e00f5b2a029a19a896999.zip |
Import of libshhmsg version 1.4.0.
A library for displaying messages.
PR: 6473
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
-rw-r--r-- | devel/libshhmsg/Makefile | 27 | ||||
-rw-r--r-- | devel/libshhmsg/distinfo | 1 | ||||
-rw-r--r-- | devel/libshhmsg/files/patch-aa | 46 | ||||
-rw-r--r-- | devel/libshhmsg/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libshhmsg/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libshhmsg/pkg-plist | 9 |
6 files changed, 87 insertions, 0 deletions
diff --git a/devel/libshhmsg/Makefile b/devel/libshhmsg/Makefile new file mode 100644 index 00000000000..58bfe151c96 --- /dev/null +++ b/devel/libshhmsg/Makefile @@ -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> diff --git a/devel/libshhmsg/distinfo b/devel/libshhmsg/distinfo new file mode 100644 index 00000000000..9b804a7440b --- /dev/null +++ b/devel/libshhmsg/distinfo @@ -0,0 +1 @@ +MD5 (shhmsg-1.4.0.tar.gz) = e4bfbcef3f067af49df865d2d40d0a5d diff --git a/devel/libshhmsg/files/patch-aa b/devel/libshhmsg/files/patch-aa new file mode 100644 index 00000000000..cf4a685feab --- /dev/null +++ b/devel/libshhmsg/files/patch-aa @@ -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: diff --git a/devel/libshhmsg/pkg-comment b/devel/libshhmsg/pkg-comment new file mode 100644 index 00000000000..2dc9ea29cca --- /dev/null +++ b/devel/libshhmsg/pkg-comment @@ -0,0 +1 @@ +A library for displaying messages. diff --git a/devel/libshhmsg/pkg-descr b/devel/libshhmsg/pkg-descr new file mode 100644 index 00000000000..e0665eaf18a --- /dev/null +++ b/devel/libshhmsg/pkg-descr @@ -0,0 +1,3 @@ +shhmsg - library for displaying messages. It contains +C-functions for error messages, verbose messages and +`normal' messages in terminalbased programs. diff --git a/devel/libshhmsg/pkg-plist b/devel/libshhmsg/pkg-plist new file mode 100644 index 00000000000..25876160b01 --- /dev/null +++ b/devel/libshhmsg/pkg-plist @@ -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 |