1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/sysutils/psmisc/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

33 lines
640 B
Makefile

# Created by: rantapaa@uswest.net
PORTNAME= psmisc
PORTVERSION= 22.16
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
MAINTAINER= douglas@douglasthrift.net
COMMENT= Port of the Linux pstree, killall, and pidof commands
LICENSE= GPLv2
BUILD_DEPENDS= gsed:textproc/gsed
CONFLICTS= pidof pstree-2.[0-9]*
GNU_CONFIGURE= yes
USES= gmake ncurses
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h
post-install:
@${LN} -fs killall ${STAGEDIR}${PREFIX}/bin/pidof
.include <bsd.port.mk>