freebsd-ports/www/jdresolve/Makefile
Doug Barton e97db53ab7 Adjust the dependency check on p5-Net-DNS to take into account its
new PERL_ARCH'ified location.

In a few cases, standardize on searching for
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm instead of other files.
2004-01-03 20:30:39 +00:00

43 lines
1,022 B
Makefile

# ex:ts=8
# New ports collection makefile for: jdresolve
# Date created: 15 June 2001
# Whom: Christophe Labouisse <christophe@labouisse.org>
#
# $FreeBSD$
#
PORTNAME= jdresolve
PORTVERSION= 0.6.1
CATEGORIES= www
MASTER_SITES= http://www.jdrowell.com/projects/jdresolve/
MAINTAINER= christophe@labouisse.org
COMMENT= A IP addresse to hostname program for httpd log files
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
USE_PERL5= yes
NO_BUILD= yes
MANCOMPRESSED= no
MAN1= rhost.1 jdresolve.1
DOC1= AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO
do-install:
.for file in jdresolve rhost
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${file}.1 ${MAN1PREFIX}/man/man1
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jdresolve
.for i in ${DOC1}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/jdresolve
.endfor
.endif
.include <bsd.port.mk>