From 3da9d946fe49d40c3894e6250de91ab63863109e Mon Sep 17 00:00:00 2001 From: Matthew Hunt Date: Sat, 2 May 1998 18:02:44 +0000 Subject: A library for displaying playing cards in X11. Moved from devel to games. --- games/libshhcards/Makefile | 28 ++++++++++++++++++++++++++++ games/libshhcards/distinfo | 1 + games/libshhcards/files/patch-aa | 31 +++++++++++++++++++++++++++++++ games/libshhcards/pkg-comment | 1 + games/libshhcards/pkg-descr | 3 +++ games/libshhcards/pkg-plist | 8 ++++++++ 6 files changed, 72 insertions(+) create mode 100644 games/libshhcards/Makefile create mode 100644 games/libshhcards/distinfo create mode 100644 games/libshhcards/files/patch-aa create mode 100644 games/libshhcards/pkg-comment create mode 100644 games/libshhcards/pkg-descr create mode 100644 games/libshhcards/pkg-plist (limited to 'games/libshhcards') diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile new file mode 100644 index 000000000000..da44effb62ae --- /dev/null +++ b/games/libshhcards/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: libshhcards +# Version required: 1.0.3 +# Date created: 12 April 1998 +# Whom: Andrey Zakhvatov +# +# $Id: Makefile,v 1.1.1.1 1998/05/02 02:35:47 mph Exp $ +# + +DISTNAME= shhcards-1.0.3 +PKGNAME= libshhcards-1.0.3 +CATEGORIES= devel +MASTER_SITES= http://www.computas.no/users/shh/pub-unix/files/ \ + http://www.freebsd.org/~mph/distfiles/ + +MAINTAINER= andy@icc.surw.chel.su + +USE_GMAKE= yes +USE_X11= yes + +do-install: + @ ${INSTALL_DATA} ${WRKSRC}/shhcards.h ${PREFIX}/include + @ ${INSTALL_DATA} ${WRKSRC}/libshhcards.so.1.0.3 ${PREFIX}/lib + @ ln -s ${PREFIX}/lib/libshhcards.so.1.0.3 ${PREFIX}/lib/libshhcards.so + @ ${MKDIR} ${PREFIX}/share/doc/libshhcards + @ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhcards + @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhcards + +.include diff --git a/games/libshhcards/distinfo b/games/libshhcards/distinfo new file mode 100644 index 000000000000..7bc34464eaa7 --- /dev/null +++ b/games/libshhcards/distinfo @@ -0,0 +1 @@ +MD5 (shhcards-1.0.3.tar.gz) = c6f9161e096e8102b930e2b9e6d1796f diff --git a/games/libshhcards/files/patch-aa b/games/libshhcards/files/patch-aa new file mode 100644 index 000000000000..3e8689482157 --- /dev/null +++ b/games/libshhcards/files/patch-aa @@ -0,0 +1,31 @@ +--- Makefile.orig Sun Mar 23 04:02:53 1997 ++++ Makefile Fri May 1 22:29:34 1998 +@@ -8,7 +8,7 @@ + ########################################################################### + + # Define SHARED as 1 for Linux shared ELF library +-#SHARED = 1 ++SHARED = 1 + + ifeq ($(SHARED),1) + LIBTARGET = lib$(DIST).so.$(VERSION) +@@ -28,8 +28,8 @@ + INSTALL = install -m 644 + MKDIRP = install -d -m 755 + +-CC = gcc +-OPTIM = -O2 ++#CC = gcc ++OPTIM = $(CFLAGS) + + ########################################################################### + +@@ -87,7 +87,7 @@ + + $(LIBTARGET): $(LIBOBJS) + ifeq ($(SHARED),1) +- $(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS) ++ $(CC) -shared -o $(LIBTARGET) $(LIBOBJS) + else + ar rcs $(LIBTARGET) $(LIBOBJS) + endif diff --git a/games/libshhcards/pkg-comment b/games/libshhcards/pkg-comment new file mode 100644 index 000000000000..7934653a84be --- /dev/null +++ b/games/libshhcards/pkg-comment @@ -0,0 +1 @@ +library for displaying game cards on X11. diff --git a/games/libshhcards/pkg-descr b/games/libshhcards/pkg-descr new file mode 100644 index 000000000000..bad9f3ddf99c --- /dev/null +++ b/games/libshhcards/pkg-descr @@ -0,0 +1,3 @@ +shhcards is a library for displaying game cards on X11. +It provides pixmaps for card games, and functions for +using the cards in X11 programs. diff --git a/games/libshhcards/pkg-plist b/games/libshhcards/pkg-plist new file mode 100644 index 000000000000..a836be4eb741 --- /dev/null +++ b/games/libshhcards/pkg-plist @@ -0,0 +1,8 @@ +include/shhcards.h +lib/libshhcards.so.1.0.3 +lib/libshhcards.so +@exec /sbin/ldconfig -m %D/lib +@unexec /sbin/ldconfig -m %D/lib +share/doc/libshhcards/CREDITS +share/doc/libshhcards/README +@dirrm share/doc/libshhcards -- cgit v1.2.3