aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-07 06:56:22 +0800
committerpav <pav@FreeBSD.org>2005-02-07 06:56:22 +0800
commit1e20c94ed4ee401e534cc887f817f5472b6e7a14 (patch)
treee629bd167e122a97deb32d085ab35f41fcfb4ba1 /games
parent888402885b0b2b5c9132bcfacbaa4df8e77184fd (diff)
downloadfreebsd-ports-gnome-1e20c94ed4ee401e534cc887f817f5472b6e7a14.tar.gz
freebsd-ports-gnome-1e20c94ed4ee401e534cc887f817f5472b6e7a14.tar.zst
freebsd-ports-gnome-1e20c94ed4ee401e534cc887f817f5472b6e7a14.zip
- Update to 1.2
PR: ports/77135 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
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 $<
-
-