freebsd-ports/security/stegdetect/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: stegdetect
# Date created: Jul 19, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= stegdetect
2002-06-03 14:48:25 +02:00
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= security
2002-06-03 14:48:25 +02:00
MASTER_SITES= http://www.mirrors.wiretapped.net/security/steganography/stegdetect/ \
http://www.outguess.org/
MAINTAINER= markp@FreeBSD.org
2003-02-22 18:14:31 +01:00
COMMENT= An automated tool for detecting steganographic content in jpegs
2002-06-03 14:48:25 +02:00
.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}
2003-02-10 14:21:21 +01:00
USE_REINPLACE= yes
2001-12-01 00:11:51 +01:00
MAN1= stegdetect.1 stegbreak.1
2002-06-03 14:48:25 +02:00
.if defined(WITHOUT_X11)
PLIST_SUB+= X11="@comment "
.else
USE_GNOME= gtk12
2002-06-03 14:48:25 +02:00
CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}"
PLIST_SUB+= X11=""
.endif
2003-10-16 00:23:25 +02:00
.include <bsd.port.pre.mk>
2002-06-03 14:48:25 +02:00
post-patch:
2003-02-10 14:21:21 +01:00
${REINPLACE_CMD} 's/$$(JPEGLIB)/$$(JPEGLIB) -lcrypto/' \
${WRKSRC}/Makefile.in
2002-06-03 14:48:25 +02:00
.if defined(WITHOUT_X11)
2003-02-10 14:21:21 +01:00
${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
2002-06-03 14:48:25 +02:00
.endif
2003-10-16 00:23:25 +02:00
.include <bsd.port.post.mk>