summaryrefslogtreecommitdiffstats
path: root/security/outguess/Makefile
blob: 6446a7cd707efebe8f7f68cc92bc466ae7b17767 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	outguess
# Date created:        			2000-12-31
# Whom:					trevor
# based on the OpenBSD port by Dug Song <dugsong@monkey.org>
#
# $OpenBSD: Makefile,v 1.7 2000/10/22 15:43:25 espie Exp $
# $FreeBSD$
#

PORTNAME=	outguess
PORTVERSION=	0.2
CATEGORIES=	security
MASTER_SITES=	http://www.outguess.org/ \
		http://www.internet2.edu/~shalunov/mirror/ \
		http://cimarron.river.com/mirrors/www.outguess.org/ \
		http://munitions.vipul.net/software/steganography/ \
		http://the25200-1.gw.connect.com.au/security/steganography/

MAINTAINER=	trevor@FreeBSD.org

DOCDIR=		share/doc/outguess
DOCS=		ChangeLog README STIRMARK-README TODO

GNU_CONFIGURE=	yes
MAN1=		outguess.1
PLIST=		${WRKDIR}/pkg-plist
WRKSRC=		${WRKDIR}/outguess

pre-install:
	${ECHO} bin/extract > ${PLIST}
	${ECHO} bin/outguess >> ${PLIST}
#	${ECHO} bin/histogram >> ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
	${ECHO} ${DOCDIR}/${i} >> ${PLIST}
.endfor
	${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif

do-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/${DOCDIR}
.for i in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
.endfor
.endif
	${INSTALL_PROGRAM} ${WRKSRC}/outguess ${PREFIX}/bin
#	${INSTALL_PROGRAM} ${WRKSRC}/histogram ${PREFIX}/bin
	${LN} -sf ${PREFIX}/bin/outguess ${PREFIX}/bin/extract
	${INSTALL_MAN} ${WRKSRC}/outguess.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud