diff options
author | Mark Pulford <markp@FreeBSD.org> | 2002-06-03 12:48:25 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2002-06-03 12:48:25 +0000 |
commit | bd7aa5869d55127c7ae8e5d87c3e9513c95440d6 (patch) | |
tree | 83e6040646539d1716f20eabae3eaa541e2725c1 /security/stegdetect/Makefile | |
parent | Fix build under XFree86-4 (diff) |
Update to 0.5. Add optional xsteg.
Notes
Notes:
svn path=/head/; revision=60535
Diffstat (limited to 'security/stegdetect/Makefile')
-rw-r--r-- | security/stegdetect/Makefile | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/security/stegdetect/Makefile b/security/stegdetect/Makefile index 9ab5bd4cb1be..cdad09c027f8 100644 --- a/security/stegdetect/Makefile +++ b/security/stegdetect/Makefile @@ -6,19 +6,35 @@ # PORTNAME= stegdetect -PORTVERSION= 0.3 +PORTVERSION= 0.5 CATEGORIES= security -MASTER_SITES= http://www.outguess.org/ +MASTER_SITES= http://www.mirrors.wiretapped.net/security/steganography/stegdetect/ \ + http://www.outguess.org/ MAINTAINER= markp@FreeBSD.org +.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} MAN1= stegdetect.1 stegbreak.1 -pre-patch: +.if defined(WITHOUT_X11) +PLIST_SUB+= X11="@comment " +.else +USE_GTK= yes +CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}" +PLIST_SUB+= X11="" +.endif + +post-patch: @${PERL} -pi -e 's@\$$\(JPEGLIB\)@\$$\(JPEGLIB\) \-lcrypto@' \ ${WRKSRC}/Makefile.in +.if defined(WITHOUT_X11) + @${PERL} -pi -e 's/gtk-config//g' ${WRKSRC}/configure +.endif .include <bsd.port.mk> |