aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netspoc/Makefile
blob: fd1400f3ead1e8a2c2d0060b8f96cb746df2b675 (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
# ex:ts=8
# Ports collection makefile for:    netspoc
# Date created:         Nov 3, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   netspoc
PORTVERSION=    1.7
CATEGORIES= net-mgmt
MASTER_SITES=   http://download.berlios.de/netspoc/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Network Security Policy Compiler

USE_PERL5=  yes
NO_BUILD=   yes

MAN1=       netspoc.1
DOCS=       *.html

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     "This port needs Perl 5.6.0 or greater"
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/netspoc ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/Netspoc.pm ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/netspoc.man ${MANPREFIX}/man/man1/netspoc.1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>