openbsd-ports/net/ethereal/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.63 2002/05/28 07:28:19 jakob Exp $
COMMENT= network protocol analyzer
VERSION= 0.9.4
DISTNAME= ethereal-${VERSION}
CATEGORIES= net x11
2002-03-22 08:40:00 -05:00
NEED_VERSION= 1.507
2000-10-06 19:13:10 -04:00
MASTER_SITES= http://www.ethereal.com/distribution/ \
http://ethereal.zing.org/distribution/ \
http://ethereal.boehm.org/distribution/ \
2000-10-06 19:13:10 -04:00
http://www.ethereal.com/distribution/old-versions/ \
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-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
SYSCONFDIR= ${PREFIX}/share/ethereal
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
2002-03-22 08:40:00 -05:00
USE_LIBTOOL= Yes
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
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}
CONFIGURE_ARGS+= --with-ucdsnmp
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS="-lsnmp -lcrypto"
2001-05-23 04:38:40 -04:00
LIB_DEPENDS+= snmp::net/ucd-snmp
.else
CONFIGURE_ARGS+= --without-ucdsnmp
.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
.include <bsd.port.mk>