1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/steghide/Makefile
Dmitry Marakasov 651d502b86 - Fix build with clang 6
- Switch to options helpers
2018-06-29 16:38:07 +00:00

37 lines
805 B
Makefile

# Created by: RaRa Rasputin <rasputin@submonkey.net>
# $FreeBSD$
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= gmake jpeg libtool:build perl5
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -fpermissive
LIBS+= -L${LOCALBASE}/lib -lmcrypt
CXXFLAGS+= -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>