1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/cnupm/Makefile
John Marino d0bb05930a Reset the 99 ports still listed under sylvio@
Sylvio's last commit was 17 months ago, a full 5 months after all of his
ports could have been reset per policy.  Given the push to complete
staging (48 ports are still unstaged, something like 70+ have already
been staged by other committers) and given that PRs are automatically
assigned but never addressed, it's better just to reset all the ports and
PRs so that it's clear to others that these ports are free to maintain.

Approved by:	portmgr (implicit)
2014-06-11 18:55:29 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Dennis S.Davidoff <null@1system.ru>
# $FreeBSD$
PORTNAME= cnupm
PORTVERSION= 3.12
CATEGORIES= net ipv6
MASTER_SITES= http://pdp-11.org.ru/~form/cnupm/files/ \
ftp://cvs.1system.ru/pub/local/src/cnupm/
MAINTAINER= ports@FreeBSD.org
COMMENT= The BPF Traffic Collector (IPv4/IPv6)
MAKE_ENV+= BINDIR="${PREFIX}/sbin" \
MANDIR="${MANPREFIX}/man/man"
USE_RC_SUBR= cnupm
MAN8= cnupm.8 cnupmstat.8
MANCOMPRESSED= yes
CNUPM_OWN?= cnupm
CNUPM_GRP?= cnupm
PW= /usr/sbin/pw
PLIST_SUB+= CNUPM_OWN="${CNUPM_OWN}" CNUPM_GRP="${CNUPM_GRP}"
PORTDOCS= README
NO_STAGE= yes
post-install:
${PW} groupshow ${CNUPM_GRP} 2>/dev/null || ${PW} groupadd \
-n ${CNUPM_GRP}
${PW} usershow ${CNUPM_OWN} 2>/dev/null || ${PW} useradd \
-n ${CNUPM_OWN} -c 'Cnupm traffic collector' \
-g ${CNUPM_GRP} -s /sbin/nologin
${INSTALL} -o ${CNUPM_OWN} -g ${CNUPM_GRP} -m 750 -d ${PREFIX}/var/cnupm
${PW} usermod -n ${CNUPM_OWN} -d ${PREFIX}/var/cnupm
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>