1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/jdresolve/Makefile

42 lines
965 B
Makefile

# Created by: Christophe Labouisse <christophe@labouisse.org>
# $FreeBSD$
PORTNAME= jdresolve
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.jdrowell.com/projects/jdresolve/
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= patch-0.6.2b1.diff
MAINTAINER= christophe@labouisse.org
COMMENT= A IP addresse to hostname program for httpd log files
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
NO_BUILD= yes
MANCOMPRESSED= no
MAN1= rhost.1 jdresolve.1
DOC1= AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO
NO_STAGE= yes
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>