aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-06 22:56:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-06 22:56:22 +0000
commit4c081f0dabfd1168db742bbb4d577817bd92c5d7 (patch)
tree427d09d7674ead9565df037f9094999f17d0d12c /games
parentd02a86245b7b0bd40b423305f9ba7d17a772d61c (diff)
downloadports-4c081f0dabfd1168db742bbb4d577817bd92c5d7.tar.gz
ports-4c081f0dabfd1168db742bbb4d577817bd92c5d7.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/cryptoslam/Makefile21
-rw-r--r--games/cryptoslam/distinfo4
-rw-r--r--games/cryptoslam/files/patch-Makefile17
3 files changed, 10 insertions, 32 deletions
diff --git a/games/cryptoslam/Makefile b/games/cryptoslam/Makefile
index 5063629f5bd4..ba2db5a2fdb4 100644
--- a/games/cryptoslam/Makefile
+++ b/games/cryptoslam/Makefile
@@ -7,29 +7,24 @@
#
PORTNAME= cryptoslam
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A curses-based tool for creating and solving the cryptograms
-PLIST_FILES= bin/cryptoslam
USE_REINPLACE= yes
-.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
+PLIST_FILES= bin/cryptoslam
-post-patch:
- @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
+do-build:
+ cd ${WRKSRC} && ${CXX} ${CXXFLAGS} cryptogram.cpp cryptoslam.cpp \
+ -o ${PORTNAME} -lcurses
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cryptoslam ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/cryptoslam/distinfo b/games/cryptoslam/distinfo
index 92114bf0ea20..1f6385e255aa 100644
--- a/games/cryptoslam/distinfo
+++ b/games/cryptoslam/distinfo
@@ -1,2 +1,2 @@
-MD5 (cryptoslam-1.1.tar.gz) = 0ea3fdfdec76cf944dbd77641f5e97d3
-SIZE (cryptoslam-1.1.tar.gz) = 35385
+MD5 (cryptoslam-1.2.tgz) = 68d222efe6ed14c014e64c3329831077
+SIZE (cryptoslam-1.2.tgz) = 36122
diff --git a/games/cryptoslam/files/patch-Makefile b/games/cryptoslam/files/patch-Makefile
deleted file mode 100644
index 8893734e20fe..000000000000
--- a/games/cryptoslam/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig Thu Aug 22 22:12:38 2002
-+++ Makefile Thu Aug 22 22:13:36 2002
-@@ -12,12 +12,12 @@
- all: cryptoslam
-
- cryptoslam: $(O_FILES)
-- gcc -o cryptoslam $(LIB_FLAGS) $(O_FILES)
-+ ${CXX} -o cryptoslam $(LIB_FLAGS) $(O_FILES)
-
- clean:
- rm -f cryptoslam core tmp.tmp *.o
-
- %.o: %.c
-- gcc $(CFLAGS) $(INCLUDE_FLAGS) -c $<
-+ ${CXX} $(CXXFLAGS) $(INCLUDE_FLAGS) -c $<
-
-