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

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

MAINTAINER= laszlof@vonostingroup.com
COMMENT=    A Network Security Policy Compiler

USE_PERL5=  yes
NO_BUILD=   yes

MAN1=       netspoc.1
DOCS=       CSPM.html NEWS.html index.html language.html netspoc.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}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>