freebsd-ports/net-mgmt/netspoc/Makefile

38 lines
796 B
Makefile

# Created by: 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
USES= perl5
USE_PERL5= configure
MAN1= netspoc.1 print-group.1
MAN3= Netspoc.3
PORTDOCS= *
PORTEXAMPLES= *
NO_STAGE= yes
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>