summaryrefslogtreecommitdiff
path: root/math/solitaire/Makefile
blob: 73818766283289665a8b0297d704ce41e9ed3b07 (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
33
34
# New ports collection makefile for:	solitaire
# Date created:			11 June 2001
# Whom:				dd
#
# $FreeBSD$
#

PORTNAME=	solitaire
PORTVERSION=	19980817
CATEGORIES=	math
MASTER_SITES=	http://www.counterpane.com/ \
		${MASTER_SITE_LOCAL} \
		http://www.unixfreak.org/~dima/distfiles/
MASTER_SITE_SUBDIR=	dd
DISTFILES=	sol.pl sol-test.txt

MAINTAINER=	dd@FreeBSD.org
COMMENT=	The reference implementation of the Solitaire encryption algorithm

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
STRIP=

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

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

.include <bsd.port.mk>