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