diff --git a/games/xjig/Makefile b/games/xjig/Makefile new file mode 100644 index 00000000000..653efcff579 --- /dev/null +++ b/games/xjig/Makefile @@ -0,0 +1,24 @@ +# OpenBSD makefile for: xjig +# Version required: 2.4 +# Date Created: May 19 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 03:20:30 angelos Exp $ +# + +DISTNAME= xjig-2.4 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= games +EXTRACT_SUFX= .tgz + +MAINTAINER= angelos@openbsd.org + +MAKEFILE= Makefile.Linux +MAN1= xjig.1 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/xjig ${PREFIX}/bin/xjig + @ ${INSTALL_MAN} ${WRKSRC}/xjig.man ${PREFIX}/man/man1/xjig.1 + +.include diff --git a/games/xjig/files/md5 b/games/xjig/files/md5 new file mode 100644 index 00000000000..7b830f4c669 --- /dev/null +++ b/games/xjig/files/md5 @@ -0,0 +1 @@ +MD5 (xjig-2.4.tgz) = a5eafd17de8d11e32c1664728144331e diff --git a/games/xjig/patches/patch-aa b/games/xjig/patches/patch-aa new file mode 100644 index 00000000000..94ce11ef492 --- /dev/null +++ b/games/xjig/patches/patch-aa @@ -0,0 +1,36 @@ +*** Makefile.Linux.orig Thu Jul 18 04:10:55 1996 +--- Makefile.Linux Wed Sep 17 03:51:48 1997 +*************** +*** 1,7 **** + + ### compiler section + CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return +! CXXFLAGS = -g -DUSE_MIT_SHM + + ### default file to be used, when no options are set + +--- 1,7 ---- + + ### compiler section + CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return +! CXXFLAGS += -DUSE_MIT_SHM -I${X_INCLUDE} + + ### default file to be used, when no options are set + +*************** LDFLAGS = -L$(XLIB_DIR) +*** 20,26 **** + .SUFFIXES: .C .o + + .C.o: +! $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $< + + LD = $(CXX) + +--- 20,26 ---- + .SUFFIXES: .C .o + + .C.o: +! $(CXX) $(CXXFLAGS) -c $< + + LD = $(CXX) + diff --git a/games/xjig/pkg/COMMENT b/games/xjig/pkg/COMMENT new file mode 100644 index 00000000000..4eb25676cac --- /dev/null +++ b/games/xjig/pkg/COMMENT @@ -0,0 +1 @@ +jigsaw puzzle game for X11 diff --git a/games/xjig/pkg/DESCR b/games/xjig/pkg/DESCR new file mode 100644 index 00000000000..2ab38cd82a1 --- /dev/null +++ b/games/xjig/pkg/DESCR @@ -0,0 +1,7 @@ + XJig is a puzzle, that tries to replicate a jigsaw puzzle on the + screen as close as possible. Gif-images can be loaded and sliced + into pieces and as in every jigsaw puzzle, the goal is to + set the parts together again. + +- Vanilla +vanilla@MinJe.com.TW diff --git a/games/xjig/pkg/PLIST b/games/xjig/pkg/PLIST new file mode 100644 index 00000000000..1b1d2a27394 --- /dev/null +++ b/games/xjig/pkg/PLIST @@ -0,0 +1,2 @@ +bin/xjig +man/man1/xjig.1