mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 1.2
PR: ports/77135 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
d02a86245b
commit
4c081f0dab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128199
@ -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>
|
||||
PLIST_FILES= bin/cryptoslam
|
||||
|
||||
.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:
|
||||
@${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>
|
||||
|
@ -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
|
||||
|
@ -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 $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user