aboutsummaryrefslogtreecommitdiffstats
path: root/security/steghide/Makefile
blob: 8dc3e63240cd124d0a01eba0b46c1121b1be387f (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
# Created by: RaRa Rasputin <rasputin@submonkey.net>
# $FreeBSD$

PORTNAME=   steghide
PORTVERSION=    0.5.1
PORTREVISION=   5
CATEGORIES= security
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.b/b/}

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

LIB_DEPENDS=    libmcrypt.so:${PORTSDIR}/security/libmcrypt \
        libmhash.so:${PORTSDIR}/security/mhash

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gettext perl5 gmake libtool
USE_AUTOTOOLS=  libtoolize
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include -fpermissive
LIBS+=      -L${LOCALBASE}/lib -lintl -lmcrypt

OPTIONS_DEFINE= DOCS

post-patch:
    ${REINPLACE_CMD} -e 's,SHELL) libtool,SHELL) ${LIBTOOL} --tag=CXX,' \
        ${WRKSRC}/src/Makefile.in
    ${REINPLACE_CMD} -e 's,-O2,${CFLAGS},' ${WRKSRC}/configure

.include <bsd.port.mk>