25 lines
695 B
Makefile
25 lines
695 B
Makefile
# $NetBSD: Makefile,v 1.6 2004/04/25 00:18:39 wiz Exp $
|
|
|
|
DISTNAME= hesiod-3.0.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
|
|
|
|
MAINTAINER= kpneal@pobox.org
|
|
COMMENT= Hesiod network database client and library
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if exists(/usr/include/hesiod.h) && !defined(USE_HESIOD)
|
|
PKG_SKIP_REASON= "${PKGNAME} is part of your ${OPSYS} distribution"
|
|
.endif
|
|
|
|
USE_BUILDLINK3= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
pre-build:
|
|
@${MV} ${WRKSRC}/hesinfo.1 ${WRKSRC}/hesinfo.1.orig
|
|
@${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|' \
|
|
${WRKSRC}/hesinfo.1.orig > ${WRKSRC}/hesinfo.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|