openbsd-ports/net/ethereal/Makefile

41 lines
970 B
Makefile
Raw Normal View History

2000-09-14 08:10:19 -04:00
# $OpenBSD: Makefile,v 1.34 2000/09/14 12:10:19 jakob Exp $
2000-09-14 08:10:19 -04:00
DISTNAME= ethereal-0.8.12
CATEGORIES= net x11
NEED_VERSION= 1.302
MASTER_SITES= http://ethereal.zing.org/distribution/ \
http://ethereal.boehm.org/distribution/ \
http://ethereal.zing.org/distribution/old-versions/ \
http://ethereal.boehm.org/distribution/old-versions/
HOMEPAGE= http://ethereal.zing.org/
LIB_DEPENDS= gtk.1.2::x11/gtk+
BUILD_DEPENDS= python::lang/python
1999-09-23 16:48:57 -04:00
MAINTAINER= 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
USE_X11= Yes
SYSCONFDIR= ${PREFIX}/share/ethereal
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
FLAVORS= snmp
FLAVOR?=
.if ${FLAVOR:L} == "snmp"
CONFIGURE_ARGS+= --enable-snmp
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS="-lsnmp -lcrypto"
BUILD_DEPENDS+= ${PREFIX}/lib/libsnmp.a::net/ucd-snmp
.else
CONFIGURE_ARGS+= --disable-snmp
.endif
.include <bsd.port.mk>