freebsd-ports/security/stegdetect/Makefile
Jan Beich a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00

35 lines
903 B
Makefile

# 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>