summaryrefslogtreecommitdiff
path: root/sysutils/prips/Makefile
blob: 970ae655e1c6659ecd940a4020fd1b79acf8aa81 (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
# Created by: Jeremy Shaffner <jeremy@external.org>
# $FreeBSD$

PORTNAME=	prips
PORTVERSION=	0.9.9
CATEGORIES=	sysutils
MASTER_SITES=	http://devel.ringlet.net/sysutils/prips/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Prints IP subnet ranges by list or CIDR

LICENSE=	GPLv2

PORTDOCS=	README
PLIST_FILES=	bin/prips

MAN1=		prips.1
MANCOMPRESSED=	yes

MAKE_ENV+=	CFLAGS_WARN="-Wall -W"

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/prips.1.gz ${PREFIX}/man/man1/
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>