aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nipper/Makefile
blob: 727840b3ada714bd4f408bc1d22fe41078ce7933 (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
# New ports collection makefile for:    nipper
# Date created:     3 May 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nipper
PORTVERSION=    0.10.4
CATEGORIES= net-mgmt
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Netdev config analyzer

PLIST_FILES=    bin/${PORTNAME}
PORTDOCS=   Changelog Readme TODO Features.txt Options.txt Quickstart.txt \
        XML.txt

post-extract:
    @${MV} ${WRKSRC}/docs/* ${WRKSRC}/

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

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
    @${INSTALL} -d ${DOCSDIR}/
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
.endif

.include <bsd.port.mk>