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

PORTNAME=   netspoc
PORTVERSION=    3.2
CATEGORIES= net-mgmt
MASTER_SITES=   BERLIOS
DISTNAME=   Netspoc-${PORTVERSION}

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_PERL5=  yes
PERL_CONFIGURE= yes

MAN1=       netspoc.1 print-group.1
MAN3=       Netspoc.3
PORTDOCS=   *
PORTEXAMPLES=   *

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/index.shtml ${DOCSDIR}
    @${MKDIR} ${DOCSDIR}/doc
    @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}/doc)
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>