pkgsrc/net/ethereal/Makefile
hubertf e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00

37 lines
1,017 B
Makefile

# $NetBSD: Makefile,v 1.44 2001/03/27 03:20:09 hubertf Exp $
#
ETHEREAL_VERSION= 0.8.16
DISTNAME= ethereal-${ETHEREAL_VERSION}
CATEGORIES= net
MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/ \
ftp://ftp.sunet.se/pub/network/monitoring/ethereal/
MAINTAINER= frueauf@netbsd.org
HOMEPAGE= http://www.ethereal.com/
COMMENT= Network protocol analyzer
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= ucd-snmp>=4.1.2:../../net/ucd-snmp
BUILD_DEPENDS+= perl-5.*:../../lang/perl5
USE_X11= YES
USE_SSL= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
EVAL_PREFIX+= GTKDIR=gtk+
CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}" \
--with-ucdsnmp=${LOCALBASE}
CONFIGURE_ENV+= LIBS="${LIBS}"
LIBS+= -lcrypto
PLIST_SUBST+= ETHEREAL_VERSION=${ETHEREAL_VERSION}
post-install:
${INSTALL_MAN} ${WRKSRC}/editcap.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/ethereal.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/tethereal.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"