aboutsummaryrefslogtreecommitdiffstats
path: root/games/cryptoslam/Makefile
blob: ba2db5a2fdb4e4d4c0c887deb2cf0b47f3324421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ex:ts=8
# New ports collection makefile for:    cryptoslam
# Date created:         Nov 25, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cryptoslam
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

USE_REINPLACE=  yes

PLIST_FILES=    bin/cryptoslam

do-build:
    cd ${WRKSRC} && ${CXX} ${CXXFLAGS} cryptogram.cpp cryptoslam.cpp \
        -o ${PORTNAME} -lcurses

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>