blob: e524939334d1ef19a21955a194480088d343a7ff (
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
|
# Created by: Paul Schmehl <pauls@utdallas.edu>
# $FreeBSD$
PORTNAME= sancp
PORTVERSION= 1.6.1
DISTVERSIONSUFFIX= -stable
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-stable
MAINTAINER= pauls@utdallas.edu
COMMENT= A network connection profiler
ALL_TARGET= bsd
USE_RC_SUBR= sancp
SUB_FILES= pkg-message
USERS= sancp
GROUPS= sancp
PORTDOCS= CHANGES INSTALL ISSUES README \
SETUP fields.LIST LICENSE
NO_STAGE= yes
post-extract:
@cd ${WRKSRC} && ${MV} LICENSE docs/
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/sancp ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/etc/sancp/sancp.conf ${PREFIX}/etc/sancp.conf-dist
@${CP} -n ${PREFIX}/etc/sancp.conf-dist ${PREFIX}/etc/sancp.conf || ${TRUE}
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|