2002-05-28 03:28:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.63 2002/05/28 07:28:19 jakob Exp $
|
2001-03-24 14:55:27 -05:00
|
|
|
|
|
|
|
COMMENT= network protocol analyzer
|
2000-11-20 02:24:10 -05:00
|
|
|
|
2002-05-28 03:28:19 -04:00
|
|
|
VERSION= 0.9.4
|
update to ethereal v0.8.19.
new dissectors include Appletalk Data Stream Interface, AUTH_DES, DVMRP,
GIOP, Gnutella, iSCSI, ISUP, M2PA, MP-BGP message, MSDP, MTP3, PAP, PIMv1,
RFC 2250 MPEG1, QuakeWorld, Quake II.
2001-07-13 16:31:38 -04:00
|
|
|
DISTNAME= ethereal-${VERSION}
|
1998-09-22 15:39:20 -04:00
|
|
|
CATEGORIES= net x11
|
2002-03-22 08:40:00 -05:00
|
|
|
NEED_VERSION= 1.507
|
2000-06-22 12:07:23 -04:00
|
|
|
|
2000-10-06 19:13:10 -04:00
|
|
|
MASTER_SITES= http://www.ethereal.com/distribution/ \
|
|
|
|
http://ethereal.zing.org/distribution/ \
|
1998-09-22 15:39:20 -04:00
|
|
|
http://ethereal.boehm.org/distribution/ \
|
2000-10-06 19:13:10 -04:00
|
|
|
http://www.ethereal.com/distribution/old-versions/ \
|
1998-09-22 15:39:20 -04:00
|
|
|
http://ethereal.zing.org/distribution/old-versions/ \
|
|
|
|
http://ethereal.boehm.org/distribution/old-versions/
|
|
|
|
|
2000-12-19 11:20:59 -05:00
|
|
|
HOMEPAGE= http://www.ethereal.com/
|
2000-06-22 12:07:23 -04:00
|
|
|
|
2000-10-04 17:53:59 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1999-05-25 19:10:50 -04:00
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-03-05 05:38:41 -05:00
|
|
|
|
2000-06-22 12:07:23 -04:00
|
|
|
SYSCONFDIR= ${PREFIX}/share/ethereal
|
|
|
|
CONFIGURE_STYLE= gnu
|
update to ethereal v0.8.19.
new dissectors include Appletalk Data Stream Interface, AUTH_DES, DVMRP,
GIOP, Gnutella, iSCSI, ISUP, M2PA, MP-BGP message, MSDP, MTP3, PAP, PIMv1,
RFC 2250 MPEG1, QuakeWorld, Quake II.
2001-07-13 16:31:38 -04:00
|
|
|
USE_GMAKE= Yes
|
2002-03-22 08:40:00 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-10-24 11:07:10 -04:00
|
|
|
SUBST_VARS+= VERSION
|
2002-03-22 08:40:00 -05:00
|
|
|
SEPARATE_BUILD= yes
|
2001-04-12 18:09:39 -04:00
|
|
|
|
2001-10-07 15:18:16 -04:00
|
|
|
FLAVORS= no_x11 snmp
|
2000-08-15 10:32:55 -04:00
|
|
|
FLAVOR?=
|
2001-10-07 15:18:16 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
2001-10-24 08:29:50 -04:00
|
|
|
LIB_DEPENDS= glib.1.2,gmodule.1.2::devel/glib
|
2001-10-07 15:18:16 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-ethereal
|
|
|
|
.else
|
|
|
|
USE_X11= Yes
|
2001-10-24 08:29:50 -04:00
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+
|
2001-10-07 15:18:16 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-ethereal
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msnmp}
|
2002-05-28 03:28:19 -04:00
|
|
|
CONFIGURE_ARGS+= --with-ucdsnmp
|
2000-08-15 10:32:55 -04:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS="-lsnmp -lcrypto"
|
2001-05-23 04:38:40 -04:00
|
|
|
LIB_DEPENDS+= snmp::net/ucd-snmp
|
2000-08-15 10:32:55 -04:00
|
|
|
.else
|
2002-05-28 03:28:19 -04:00
|
|
|
CONFIGURE_ARGS+= --without-ucdsnmp
|
2000-08-15 10:32:55 -04:00
|
|
|
.endif
|
2001-10-07 14:49:28 -04:00
|
|
|
|
2002-03-22 20:04:32 -05:00
|
|
|
pre-configure:
|
2002-03-22 08:40:00 -05:00
|
|
|
rm -f ${WRKSRC}/ltconfig ${WRKSRC}/ltmain.sh
|
2002-03-22 20:04:32 -05:00
|
|
|
rm -f ${WRKBUILD}/libtool
|
|
|
|
ln -s ${LIBTOOL} ${WRKBUILD}/libtool
|
2001-06-13 17:52:50 -04:00
|
|
|
|
1998-09-22 15:39:20 -04:00
|
|
|
.include <bsd.port.mk>
|