2001-03-20 02:57:20 +01:00
|
|
|
# New ports collection makefile for: steghide
|
|
|
|
# Date created: 26 February 2001
|
2002-03-08 02:12:30 +01:00
|
|
|
# Whom: RaRa Rasputin <rasputin@submonkey.net>
|
2001-03-20 02:57:20 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= steghide
|
2002-08-11 06:26:43 +02:00
|
|
|
PORTVERSION= 0.4.6.b
|
2001-03-20 02:57:20 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://steghide.sourceforge.net/download/
|
2002-08-11 06:26:43 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
|
2001-03-20 02:57:20 +01:00
|
|
|
|
2002-10-22 15:28:29 +02:00
|
|
|
MAINTAINER= arved@FreeBSD.org
|
2001-03-20 02:57:20 +01:00
|
|
|
|
2003-01-03 20:24:34 +01:00
|
|
|
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
|
2002-08-11 06:26:43 +02:00
|
|
|
mhash.2:${PORTSDIR}/security/mhash \
|
|
|
|
intl.4:${PORTSDIR}/devel/gettext
|
2001-12-06 02:12:06 +01:00
|
|
|
|
2002-01-28 08:03:12 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-08-11 06:26:43 +02:00
|
|
|
CONFIGURE_TARGET=
|
|
|
|
CONFIGURE_ARGS= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2001-12-06 02:12:06 +01:00
|
|
|
USE_GMAKE= yes
|
2002-08-11 06:26:43 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
2003-01-12 18:05:03 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl -lmcrypt"
|
2002-08-11 06:26:43 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-03-20 02:57:20 +01:00
|
|
|
|
|
|
|
MAN1= steghide.1
|
|
|
|
|
2002-08-11 06:26:43 +02:00
|
|
|
post-patch:
|
|
|
|
.ifdef(NOPORTDOCS)
|
|
|
|
${REINPLACE_CMD} -e 's|install-data-am\: install-docDATA||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2002-09-01 19:35:49 +02:00
|
|
|
.for i in msg.h arg.h cvrstgfile.h error.h jpegjfifapp0.h
|
|
|
|
${REINPLACE_CMD} -e 's/#include <string>//' ${WRKSRC}/src/${i}
|
|
|
|
${REINPLACE_CMD} -e 's/string/std::string/g' ${WRKSRC}/src/${i}
|
|
|
|
.endfor
|
|
|
|
.for i in hash.cc bufmanag.cc wavfile.cc
|
|
|
|
${REINPLACE_CMD} -e 's/string.h/string/' ${WRKSRC}/src/${i}
|
|
|
|
.endfor
|
|
|
|
.for i in jpeghufftable.h jpegbase.h jpegentropycoded.h jpegscan.h \
|
|
|
|
jpegframe.h bmpfile.h aufile.h jpegunusedseg.h
|
|
|
|
${REINPLACE_CMD} -e 's/#include <vector>//' ${WRKSRC}/src/${i}
|
|
|
|
${REINPLACE_CMD} -e 's/vector/std::vector/g' ${WRKSRC}/src/${i}
|
|
|
|
.endfor
|
2002-08-11 06:26:43 +02:00
|
|
|
|
2001-03-20 02:57:20 +01:00
|
|
|
.include <bsd.port.mk>
|