summaryrefslogtreecommitdiff
path: root/games/cryptoslam/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-25 07:56:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-25 07:56:19 +0000
commitf4561fbd1c2e5e75e8333f8aead9e69b962947cf (patch)
tree8ca22d4d37021c80b98c76e0bb7b1ef8166857da /games/cryptoslam/Makefile
parentSupport new <nfsclient/nfs.h> in -current. (diff)
add cryptoslam
A curses-based tool for creating and solving the cryptograms
Notes
Notes: svn path=/head/; revision=50512
Diffstat (limited to 'games/cryptoslam/Makefile')
-rw-r--r--games/cryptoslam/Makefile31
1 files changed, 31 insertions, 0 deletions
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>