blob: 67dc2435c8bfc8a54410f23d86079c313a04f116 (
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
|
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
PORTNAME= stegdetect
PORTVERSION= 0.6
PORTREVISION= 15
CATEGORIES= security
MASTER_SITES= http://www.sourcefiles.org/Graphics/Tools/Miscellaneous/
MAINTAINER= ports@FreeBSD.org
COMMENT= Automated tool for detecting steganographic content in JPEGs
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
X11_LIB_DEPENDS= libevent.so:devel/libevent
X11_USE= GNOME=gtk12 XORG=x11,xext,xi
X11_CONFIGURE_ENV+= PATH_GTKCONFIG="${GTK_CONFIG}"
# Note: stegdetect includes a modified version of jpeg-6b linked statically
GNU_CONFIGURE= yes
USES= gmake ssl
CONFIGURE_ARGS+=--program-prefix=''
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
post-patch:
@${REINPLACE_CMD} 's;/usr/include/event;${LOCALBASE}/include;g' \
${WRKSRC}/configure
post-patch-X11-on:
@${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
.include <bsd.port.mk>
|