Date: Sat, 5 Feb 2005 23:00:14 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77135: Update port: games/cryptslam to 1.2 Message-ID: <20050205230014.2f76d336.tkato432@yahoo.com> Resent-Message-ID: <200502051410.j15EAN4p082440@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77135 >Category: ports >Synopsis: Update port: games/cryptslam to 1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 05 14:10:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE i386 >Organization: >Environment: >Description: - Update to version 1.2 Remove file: files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/games/cryptoslam/Makefile games/cryptoslam/Makefile --- /usr/ports/games/cryptoslam/Makefile Mon Apr 12 12:51:41 2004 +++ games/cryptoslam/Makefile Fri Jan 21 13:14:39 2005 @@ -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 -urN /usr/ports/games/cryptoslam/distinfo games/cryptoslam/distinfo --- /usr/ports/games/cryptoslam/distinfo Thu Jan 29 20:25:06 2004 +++ games/cryptoslam/distinfo Fri Jan 21 13:07:35 2005 @@ -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 -urN /usr/ports/games/cryptoslam/files/patch-Makefile games/cryptoslam/files/patch-Makefile --- /usr/ports/games/cryptoslam/files/patch-Makefile Fri Aug 23 14:14:50 2002 +++ games/cryptoslam/files/patch-Makefile Thu Jan 1 09:00:00 1970 @@ -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 $< - - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050205230014.2f76d336.tkato432>