summaryrefslogtreecommitdiffstats
path: root/math/solitaire/Makefile
blob: c819c7a2d14663c4b077aa9e87d22a131d0fe12d (plain)
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
# 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:
	@${MKDIR} ${WRKDIR}
	@${CP} -r ${DISTDIR}/sol.pl ${DISTDIR}/sol-test.txt ${WRKDIR}

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>
OpenPOWER on IntegriCloud