mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
3ce0f21808
- Convert to USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Remove patches that renamed include directories and libraries so they didn't conflict with early development versions of glib/gtk 2.0
42 lines
993 B
Makefile
42 lines
993 B
Makefile
# Created by: Mark Pulford <mark@kyne.com.au>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stegdetect
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 11
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.outguess.org/ \
|
|
http://distfiles.master.finkmirrors.net/ \
|
|
http://www.predatorlabs.net/dl/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Automated tool for detecting steganographic content in JPEGs
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT= X11
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MX11}
|
|
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
|
|
USE_GNOME= gtk12
|
|
CONFIGURE_ENV+= PATH_GTKCONFIG="${GTK_CONFIG}"
|
|
PLIST_SUB+= X11=""
|
|
.else
|
|
PLIST_SUB+= X11="@comment "
|
|
.endif
|
|
|
|
# Note: stegdetect includes a modified version of jpeg-6b linked statically
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
CONFIGURE_ARGS+=--program-prefix=''
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's;/usr/include/event;${LOCALBASE}/include;g' \
|
|
${WRKSRC}/configure
|
|
.if ${PORT_OPTIONS:MX11}
|
|
@${REINPLACE_CMD} 's/gtk-config//g' ${WRKSRC}/configure
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|