aboutsummaryrefslogtreecommitdiffstats
path: root/security/steghide/Makefile
blob: 15bc6fbe3e6c9caa38c1efaf0451f25b39c69953 (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
38
39
40
41
# New ports collection makefile for:    steghide
# Date created:             26 February 2001
# Whom:                 RaRa Rasputin <rasputin@submonkey.net>
#
# $FreeBSD$
#

PORTNAME=   steghide
PORTVERSION=    0.5.1
PORTREVISION=   4
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=    mcrypt.8:${PORTSDIR}/security/libmcrypt \
        mhash.2:${PORTSDIR}/security/mhash

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gettext perl5
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lintl -lmcrypt"
CPPFLAGS+=  ${CFLAGS} -I${LOCALBASE}/include -fpermissive

MAN1=       steghide.1

post-patch:
.ifdef(NOPORTDOCS)
    ${REINPLACE_CMD} -e 's|install-data-am\: install-docDATA||' \
        ${WRKSRC}/Makefile.in
.endif
    ${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>