Update security/py-cybox to version 2.1.0.7
[dports.git] / security / stegdetect / Makefile
1 # Created by: Mark Pulford <mark@kyne.com.au>
2 # $FreeBSD$
3
4 PORTNAME=       stegdetect
5 PORTVERSION=    0.6
6 PORTREVISION=   10
7 CATEGORIES=     security
8 MASTER_SITES=   http://www.outguess.org/ \
9                 http://distfiles.master.finkmirrors.net/ \
10                 http://www.predatorlabs.net/dl/
11
12 MAINTAINER=     ports@FreeBSD.org
13 COMMENT=        Automated tool for detecting steganographic content in JPEGs
14
15 OPTIONS_DEFINE= X11
16 OPTIONS_DEFAULT=        X11
17
18 .include <bsd.port.options.mk>
19
20 .if ${PORT_OPTIONS:MX11}
21 LIB_DEPENDS=    libevent.so:${PORTSDIR}/devel/libevent2
22 USE_GNOME=      gtk12
23 CONFIGURE_ENV+= PATH_GTKCONFIG="${GTK_CONFIG}"
24 PLIST_SUB+=     X11=""
25 .else
26 PLIST_SUB+=     X11="@comment "
27 .endif
28
29 # Note: stegdetect includes a modified version of jpeg-6b linked statically
30 GNU_CONFIGURE=  yes
31 USES=           gmake
32 CONFIGURE_ARGS+=--program-prefix=''
33
34 post-patch:
35         @${REINPLACE_CMD} 's;/usr/include/event;${LOCALBASE}/include;g' \
36                 ${WRKSRC}/configure
37 .if ${PORT_OPTIONS:MX11}
38         @${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
39 .endif
40
41 .include <bsd.port.mk>