pkgsrc/net/jwhois/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

35 lines
897 B
Makefile

# $NetBSD: Makefile,v 1.8 2001/03/27 03:20:11 hubertf Exp $
#
DISTNAME= jwhois-2.4.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=jwhois/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/jwhois/
COMMENT= Configurable WHOIS client
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
GNU_CONFIGURE= # defined
USE_LIBINTL= # defined
CONFIGURE_ARGS+= --sysconfdir=/etc
CONFIGURE_ARGS+= --localstatedir=/var/db
CONFIGURE_ARGS+= --with-cache
INFO_FILES= jwhois.info
.include "../../mk/bsd.prefs.mk"
.if !exists(${LOCALBASE}/share/aclocal/gettext.m4)
BUILD_DEPENDS+= gettext-0.10.35nb1:../../devel/gettext
.endif
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
post-install:
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/share/examples
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"