aboutsummaryrefslogtreecommitdiff
path: root/sysutils/psmisc/Makefile
blob: 90d2a3e65093513293b361c845716cb26d69d08a (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
# 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-[0-9]* 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>