freebsd-ports/sysutils/psmisc/Makefile
Jason Helfman 74685c8dd6 - Update to 22.15
Changes in 22.15
================
* Really apply patch for SF#31110178 RH#651794, SF#3317431
* Conditionally use fork before stat calls SF#3427522
* Patch from Corrina Vinschen for compiling on cygwin
* Use ENOENT not EBADE for FreeBSD Debian #631566
* Fix prstat typos
* Stop zombies by using waitpid Ubuntu #876387 by Peter Holik, SF#3429674
* Fixed minor older/younger typo in killall.1 thanks to Maikel Linke
* Remove doubled content in src/lists.h
* Add another 2 for thread brackets in pstree.c
* Correct defines for timeout in configure.ac

PR:	ports/165336
Submitted by:	maintainer, douglas@douglasthrift.net
2012-02-21 04:06:30 +00:00

46 lines
955 B
Makefile

# New ports collection makefile for: psmisc
# Date created: 10 March 1998
# Whom: rantapaa@uswest.net
#
# $FreeBSD$
#
PORTNAME= psmisc
PORTVERSION= 22.15
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
MAINTAINER= douglas@douglasthrift.net
COMMENT= A port of the Linux pstree, killall and pidof commands
LICENSE= GPLv2
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
CONFLICTS= pidof-[0-9]* pstree-2.[0-9]*
GNU_CONFIGURE= yes
USE_GMAKE= yes
OPTIONS= NLS "Native Language Support via gettext utilities" on
.include <bsd.port.options.mk>
MAN1= killall.1 pstree.1
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
CONFIGURE_ARGS= --enable-nls
PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h
post-install:
@${LN} -fs ${PREFIX}/bin/killall ${PREFIX}/bin/pidof
.include <bsd.port.mk>