mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
819f25b36d
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)
33 lines
640 B
Makefile
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>
|