mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
f127cb6576
Drop .sh extension from RC script. Drop MD5 checksum from distinfo. Switch from adding & removing users by hand to using USERS & GROUPS. Dont remove data gathered by app on uninstall, notify user to do it manually should they wish to. PR: ports/152225, ports/152226 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: pauls@utdallas.edu (maintainer timeout)
43 lines
974 B
Makefile
43 lines
974 B
Makefile
# 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= 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
|
|
|
|
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
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|