freebsd-ports/security/stegdetect/Makefile
Ade Lovett fe279f0df8 Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.
Discussed with:	kris
Approved by:	portmgr (implicit)
2006-03-07 08:28:06 +00:00

43 lines
1 KiB
Makefile

# New ports collection makefile for: stegdetect
# Date created: Jul 19, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= stegdetect
PORTVERSION= 0.5
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.mirrors.wiretapped.net/security/steganography/stegdetect/ \
http://www.outguess.org/
MAINTAINER= markp@FreeBSD.org
COMMENT= An automated tool for detecting steganographic content in jpegs
.if !defined(WITHOUT_X11)
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
.endif
# Note: stegdetect includes a modified version of jpeg-6b linked statically
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
MAN1= stegdetect.1 stegbreak.1
.if defined(WITHOUT_X11)
PLIST_SUB+= X11="@comment "
.else
USE_GNOME= gtk12
CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}"
PLIST_SUB+= X11=""
.endif
post-patch:
${REINPLACE_CMD} 's/$$(JPEGLIB)/$$(JPEGLIB) -lcrypto/' \
${WRKSRC}/Makefile.in
.if defined(WITHOUT_X11)
${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
.endif
.include <bsd.port.mk>