aboutsummaryrefslogtreecommitdiffstats
path: root/math/solitaire/Makefile
blob: 408e0c7a35e280ea16c3fbbc610af185508cfd64 (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
31
32
# Created by: dd
# $FreeBSD$

PORTNAME=   solitaire
PORTVERSION=    19980817
PORTREVISION=   1
CATEGORIES= math
MASTER_SITES=   LOCAL/dd
DISTFILES=  sol.pl sol-test.txt

MAINTAINER= ports@FreeBSD.org
COMMENT=    Reference implementation of the Solitaire encryption algorithm

USES=       perl5 shebangfix
SHEBANG_FILES=  sol.pl

NO_BUILD=   yes
NO_WRKSUBDIR=   yes
STRIP=

OPTIONS_DEFINE= DOCS

do-extract:
    @${CP} ${DISTDIR}/sol.pl ${DISTDIR}/sol-test.txt ${WRKSRC}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sol.pl ${STAGEDIR}${PREFIX}/bin/solitaire
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/solitaire
    ${INSTALL_DATA} ${WRKSRC}/sol.pl ${WRKSRC}/sol-test.txt \
        ${STAGEDIR}${PREFIX}/share/doc/solitaire

.include <bsd.port.mk>