aboutsummaryrefslogtreecommitdiff
path: root/www/jdresolve/Makefile
blob: a1e4ada8d5c06d729e7d75c9976b0588d43f910b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Christophe Labouisse <christophe@labouisse.org>
# $FreeBSD$

PORTNAME=	jdresolve
PORTVERSION=	0.6.1
PORTREVISION=	2
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=	IP addresse to hostname program for httpd log files

BROKEN=		unfetchable

BUILD_DEPENDS=	p5-Net-DNS>=0:dns/p5-Net-DNS
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5 shebangfix
NO_BUILD=	yes
SHEBANG_FILES=	jdresolve

DOC1=	AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO

OPTIONS_DEFINE=	DOCS

do-install:
.for file in jdresolve rhost
	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${file}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jdresolve
.for i in ${DOC1}
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/share/doc/jdresolve
.endfor

.include <bsd.port.mk>