aboutsummaryrefslogtreecommitdiffstats
path: root/games/cryptoslam/Makefile
blob: d89f8f205f1658d10f5c823880d1e6611e3c371c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: ijliao
# $FreeBSD$

PORTNAME=   cryptoslam
PORTVERSION=    1.2
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Curses-based tool for creating and solving the cryptograms

USES=       ncurses tar:tgz
PLIST_FILES=    bin/cryptoslam

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

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

.include <bsd.port.mk>