aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/cidr/Makefile
blob: 4592292974f5638d44ef476554394fceb36afa9c (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
# Created by: Domas Mituzas <midom@dammit.lt>
# $FreeBSD$

PORTNAME=   cidr
PORTVERSION=    2.3.2
PORTREVISION=   1
CATEGORIES= net-mgmt
MASTER_SITES=   LOCAL/ehaupt

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    RFC 1878 subnet calculator / helper

LICENSE=    GPLv2

PLIST_FILES=    bin/cidr man/man1/cidr.1.gz

do-build:
    ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>