Update sysutils/duplicity to version 0.7.18.2
[dports.git] / sysutils / psmisc / Makefile
1 # Created by: rantapaa@uswest.net
2 # $FreeBSD$
3
4 PORTNAME=       psmisc
5 PORTVERSION=    22.16
6 PORTREVISION=   1
7 CATEGORIES=     sysutils
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/
9
10 MAINTAINER=     douglas@douglasthrift.net
11 COMMENT=        Port of the Linux pstree, killall, and pidof commands
12
13 LICENSE=        GPLv2
14
15 BUILD_DEPENDS=  gsed:textproc/gsed
16
17 CONFLICTS=      pidof-[0-9]* pstree-2.[0-9]*
18
19 GNU_CONFIGURE=  yes
20 USES=           gmake ncurses
21
22 OPTIONS_DEFINE= NLS
23 OPTIONS_SUB=    yes
24 NLS_CONFIGURE_ENABLE=   nls
25 NLS_USES=               gettext
26
27 post-patch:
28         @${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h
29
30 post-install:
31         @${LN} -fs killall ${STAGEDIR}${PREFIX}/bin/pidof
32
33 .include <bsd.port.mk>