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 | b91ddcfa1c3a60c4bcb3f1701fe5334847f8aaf7 (diff) |
Notes
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> |