aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-25 15:56:19 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-25 15:56:19 +0800
commit071571cfbe1e3b8e0711b52dbbf62bd45c7e0110 (patch)
tree17408b7280ac890ba1db94f7bd249338003eb37f /games
parent8a236b71e520d6327df296f31050a50bb55b9c9f (diff)
downloadfreebsd-ports-gnome-071571cfbe1e3b8e0711b52dbbf62bd45c7e0110.tar.gz
freebsd-ports-gnome-071571cfbe1e3b8e0711b52dbbf62bd45c7e0110.tar.zst
freebsd-ports-gnome-071571cfbe1e3b8e0711b52dbbf62bd45c7e0110.zip
add cryptoslam
A curses-based tool for creating and solving the cryptograms
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/cryptoslam/Makefile31
-rw-r--r--games/cryptoslam/distinfo1
-rw-r--r--games/cryptoslam/pkg-comment1
-rw-r--r--games/cryptoslam/pkg-descr4
-rw-r--r--games/cryptoslam/pkg-plist1
6 files changed, 39 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 9f255fff2c99..0134612bb26e 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -58,6 +58,7 @@
SUBDIR += crafty-open-small
SUBDIR += crimson
SUBDIR += crossfire
+ SUBDIR += cryptoslam
SUBDIR += cursive
SUBDIR += deal
SUBDIR += defendguin
diff --git a/games/cryptoslam/Makefile b/games/cryptoslam/Makefile
new file mode 100644
index 000000000000..d1bd194d93fa
--- /dev/null
+++ b/games/cryptoslam/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# New ports collection makefile for: cryptoslam
+# Date created: Nov 25, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= cryptoslam
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400010
+LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
+CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses \
+ -I${LOCALBASE}/include -I/usr/include
+.endif
+
+post-patch:
+ @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cryptoslam ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/games/cryptoslam/distinfo b/games/cryptoslam/distinfo
new file mode 100644
index 000000000000..8818258c2b43
--- /dev/null
+++ b/games/cryptoslam/distinfo
@@ -0,0 +1 @@
+MD5 (cryptoslam-1.1.tar.gz) = 0ea3fdfdec76cf944dbd77641f5e97d3
diff --git a/games/cryptoslam/pkg-comment b/games/cryptoslam/pkg-comment
new file mode 100644
index 000000000000..70cec8196bd5
--- /dev/null
+++ b/games/cryptoslam/pkg-comment
@@ -0,0 +1 @@
+A curses-based tool for creating and solving the cryptograms
diff --git a/games/cryptoslam/pkg-descr b/games/cryptoslam/pkg-descr
new file mode 100644
index 000000000000..cc96ccc5d248
--- /dev/null
+++ b/games/cryptoslam/pkg-descr
@@ -0,0 +1,4 @@
+Cryptoslam is a curses-based tool for creating and solving the simple pencil-
+and-paper cryptograms found in newspapers and puzzle magazines. It is a tool
+that aids in analyzing, examining, and trying possible decodings of simple
+substitution cyphers.
diff --git a/games/cryptoslam/pkg-plist b/games/cryptoslam/pkg-plist
new file mode 100644
index 000000000000..06f6a1258fe5
--- /dev/null
+++ b/games/cryptoslam/pkg-plist
@@ -0,0 +1 @@
+bin/cryptoslam