All,
I'm submitting a unified diff of a new port of my console word search
game for OpenBSD.
Please evaluate and comment on any necessary changes.
Regards,
Pat
--
Pat Jensen, CCIE #53452
diff --git a/games/wordsearch/Makefile b/games/wordsearch/Makefile
new file mode 100644
index 0000000..358474c
--- /dev/null
+++ b/games/wordsearch/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD$
+
+COMMENT= Classic word search game that you can play in your
terminal
+DISTNAME= wordsearch-2.0
+CATEGORIES= games
+
+HOMEPAGE= https://github.com/jensenpat/wordsearch/
+
+MAINTAINER= Pat Jensen <[email protected]>
+
+MASTER_SITES=
https://github.com/jensenpat/wordsearch/releases/download/2.0/
+
+# 2 Clause BSD
+PERMIT_PACKAGE= Yes
+
+MODULES = lang/python
+
+FLAVORS = python3
+FLAVOR = python3
+
+NO_BUILD= Yes
+NO_TEST= Yes
+PKG_ARCH= *
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/wordsearch ${PREFIX}/bin/wordsearch
+ mkdir -p ${PREFIX}/share/wordsearch/
+ ${INSTALL_DATA} ${WRKSRC}/puzzles/*.txt ${PREFIX}/share/wordsearch/
+ mkdir -p ${PREFIX}/share/doc/wordsearch/
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/wordsearch/
+ mkdir -p ${PREFIX}/man/man6/
+ ${INSTALL_MAN} ${WRKSRC}/man/wordsearch.6
${PREFIX}/man/man6/wordsearch.6
+
+.include <bsd.port.mk>
diff --git a/games/wordsearch/distinfo b/games/wordsearch/distinfo
new file mode 100644
index 0000000..7e94f7f
--- /dev/null
+++ b/games/wordsearch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (wordsearch-2.0.tar.gz) = CpADRJuBQu3ng7ILyZeB/rtzRmeHgS3c9O2/IiP3W/M=
+SIZE (wordsearch-2.0.tar.gz) = 12109
diff --git a/games/wordsearch/pkg/DESCR b/games/wordsearch/pkg/DESCR
new file mode 100644
index 0000000..d7686c5
--- /dev/null
+++ b/games/wordsearch/pkg/DESCR
@@ -0,0 +1,4 @@
+wordsearch is a classic word search game that you can play in your terminal.
+It features curses full screen gameplay with an easy to customize puzzle-
+directory so you can share your creations with friends. It has simple to pick
+up gameplay with word-based scoring so you can play anytime.
diff --git a/games/wordsearch/pkg/PLIST b/games/wordsearch/pkg/PLIST
new file mode 100644
index 0000000..c72ae2e
--- /dev/null
+++ b/games/wordsearch/pkg/PLIST
@@ -0,0 +1,71 @@
+@comment $OpenBSD: PLIST,v$
+bin/wordsearch
+man/man6/wordsearch.6
+share/doc/wordsearch/
+share/doc/wordsearch/LICENSE
+share/wordsearch/
+share/wordsearch/airplanes.txt
+share/wordsearch/anatomy.txt
+share/wordsearch/animals.txt
+share/wordsearch/apocalypse.txt
+share/wordsearch/baseball.txt
+share/wordsearch/bbq.txt
+share/wordsearch/camping.txt
+share/wordsearch/candy.txt
+share/wordsearch/cars.txt
+share/wordsearch/cats.txt
+share/wordsearch/christmas.txt
+share/wordsearch/coffee.txt
+share/wordsearch/computers.txt
+share/wordsearch/cookies.txt
+share/wordsearch/cooking.txt
+share/wordsearch/dairy.txt
+share/wordsearch/dance.txt
+share/wordsearch/dates.txt
+share/wordsearch/dinosaurs.txt
+share/wordsearch/dogs.txt
+share/wordsearch/edm.txt
+share/wordsearch/email.txt
+share/wordsearch/engines.txt
+share/wordsearch/fall.txt
+share/wordsearch/fish.txt
+share/wordsearch/fitness.txt
+share/wordsearch/football.txt
+share/wordsearch/fruit.txt
+share/wordsearch/halloween.txt
+share/wordsearch/hamradio.txt
+share/wordsearch/hiking.txt
+share/wordsearch/hobbies.txt
+share/wordsearch/hockey.txt
+share/wordsearch/household.txt
+share/wordsearch/instruments.txt
+share/wordsearch/internet.txt
+share/wordsearch/mobile.txt
+share/wordsearch/movies.txt
+share/wordsearch/nationalparks.txt
+share/wordsearch/networks.txt
+share/wordsearch/nuts.txt
+share/wordsearch/oldtimes.txt
+share/wordsearch/pasta.txt
+share/wordsearch/photography.txt
+share/wordsearch/places.txt
+share/wordsearch/planets.txt
+share/wordsearch/science.txt
+share/wordsearch/scifi.txt
+share/wordsearch/sodas.txt
+share/wordsearch/space.txt
+share/wordsearch/spices.txt
+share/wordsearch/spring.txt
+share/wordsearch/states.txt
+share/wordsearch/strings.txt
+share/wordsearch/summer.txt
+share/wordsearch/superpowers.txt
+share/wordsearch/technology.txt
+share/wordsearch/tennis.txt
+share/wordsearch/trains.txt
+share/wordsearch/travel.txt
+share/wordsearch/trees.txt
+share/wordsearch/unix.txt
+share/wordsearch/wine.txt
+share/wordsearch/winter.txt
+share/wordsearch/work.txt