1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

* add support for JPEG

PR:		205650
Submitted by:	rene

* while here, add Option to disable NLS
This commit is contained in:
Tilman Keskinoz 2015-12-28 11:56:59 +00:00
parent 9bb020e67e
commit 4a3bc1c655
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404622
2 changed files with 26 additions and 17 deletions

View File

@ -3,26 +3,35 @@
PORTNAME= steghide
PORTVERSION= 0.5.1
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= SF
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 gmake libtool:build perl5
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
libmhash.so:${PORTSDIR}/security/mhash
USES= gmake jpeg libtool:build perl5
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -fpermissive
LIBS+= -L${LOCALBASE}/lib -lintl -lmcrypt
LIBS+= -L${LOCALBASE}/lib -lmcrypt
MAKE_ARGS= LIBTOOL="${LOCALBASE}/bin/libtool"
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
LIBS+= -lintl
.endif
post-patch:
@${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure

View File

@ -1,12 +1,12 @@
bin/steghide
%%PORTDOCS%%share/doc/steghide/BUGS
%%PORTDOCS%%share/doc/steghide/CREDITS
%%PORTDOCS%%share/doc/steghide/HISTORY
%%PORTDOCS%%share/doc/steghide/LEAME
%%PORTDOCS%%share/doc/steghide/README
%%PORTDOCS%%share/doc/steghide/TODO
share/locale/de/LC_MESSAGES/steghide.mo
share/locale/es/LC_MESSAGES/steghide.mo
share/locale/fr/LC_MESSAGES/steghide.mo
share/locale/ro/LC_MESSAGES/steghide.mo
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/HISTORY
%%PORTDOCS%%%%DOCSDIR%%/LEAME
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%NLS%%share/locale/de/LC_MESSAGES/steghide.mo
%%NLS%%share/locale/es/LC_MESSAGES/steghide.mo
%%NLS%%share/locale/fr/LC_MESSAGES/steghide.mo
%%NLS%%share/locale/ro/LC_MESSAGES/steghide.mo
man/man1/steghide.1.gz