summaryrefslogtreecommitdiff
path: root/security/steghide/Makefile
blob: 038c7a3d6a950eae7d7c044fd27e90586638c430 (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
35
36
37
# Created by: RaRa Rasputin <rasputin@submonkey.net>

PORTNAME=	steghide
PORTVERSION=	0.5.1
PORTREVISION=	7
CATEGORIES=	security
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Steganography tool to hide data in binary files

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libmcrypt.so:security/libmcrypt \
		libmhash.so:security/mhash

USES=		compiler cpe gmake jpeg libtool:build localbase perl5
CPE_VENDOR=	${PORTNAME}_project
GNU_CONFIGURE=	yes
CPPFLAGS+=	-fpermissive
LIBS+=		-lmcrypt
CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang=	-Wno-static-float-init
MAKE_ARGS=	LIBTOOL="${LOCALBASE}/bin/libtool"

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls
NLS_LIBS=	-lintl

post-patch:
	@${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure

.include <bsd.port.mk>