aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-05-02 18:02:44 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-05-02 18:02:44 +0000
commit3da9d946fe49d40c3894e6250de91ab63863109e (patch)
treebac1039f25089673a3324b4ff10e4ec939a1d9f1
parent61498cf957665cd36d306942c4c7fe196d0145f6 (diff)
downloadports-3da9d946fe49d40c3894e6250de91ab63863109e.tar.gz
ports-3da9d946fe49d40c3894e6250de91ab63863109e.zip
Notes
-rw-r--r--games/libshhcards/Makefile28
-rw-r--r--games/libshhcards/distinfo1
-rw-r--r--games/libshhcards/files/patch-aa31
-rw-r--r--games/libshhcards/pkg-comment1
-rw-r--r--games/libshhcards/pkg-descr3
-rw-r--r--games/libshhcards/pkg-plist8
6 files changed, 72 insertions, 0 deletions
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 <bsd.port.mk>
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