blob: aae5fb51dd0425e5d9f229f81ca40304de1affc3 (
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
|
# New ports collection makefile for: sancp
# Date created: 10 Feb 2005
# Whom: Paul Schmehl <pauls@utdallas.edu>
#
# $FreeBSD$
#
PORTNAME= sancp
PORTVERSION= 1.6.1
DISTVERSIONSUFFIX= -stable
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= pauls@utdallas.edu
COMMENT= A network connection profiler
ALL_TARGET= bsd
USE_RC_SUBR= sancp.sh
SUB_FILES= pkg-message
PORTDOCS= CHANGES INSTALL ISSUES README \
SETUP fields.LIST LICENSE
post-extract:
@cd ${WRKSRC} && ${MV} LICENSE docs/
do-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-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
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|