1998-12-20 04:55:54 +01:00
|
|
|
# New ports collection makefile for: psmisc
|
|
|
|
# Date created: 10 March 1998
|
|
|
|
# Whom: rantapaa@uswest.net
|
|
|
|
#
|
1999-08-31 04:00:46 +02:00
|
|
|
# $FreeBSD$
|
1998-12-20 04:55:54 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= psmisc
|
2012-03-02 19:49:50 +01:00
|
|
|
PORTVERSION= 22.16
|
2000-04-22 12:14:11 +02:00
|
|
|
CATEGORIES= sysutils
|
2010-10-06 07:58:11 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
|
1998-12-20 04:55:54 +01:00
|
|
|
|
2010-10-06 07:58:11 +02:00
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
2012-08-03 17:54:35 +02:00
|
|
|
COMMENT= Port of the Linux pstree, killall, and pidof commands
|
1998-12-20 04:55:54 +01:00
|
|
|
|
2011-08-08 15:05:00 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-10-06 07:58:11 +02:00
|
|
|
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
|
|
|
|
|
2010-08-01 09:13:14 +02:00
|
|
|
CONFLICTS= pidof-[0-9]* pstree-2.[0-9]*
|
2010-05-31 01:45:09 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-09-10 04:22:03 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2010-10-06 07:58:11 +02:00
|
|
|
OPTIONS= NLS "Native Language Support via gettext utilities" on
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2010-05-31 01:45:09 +02:00
|
|
|
MAN1= killall.1 pstree.1
|
2010-10-06 07:58:11 +02:00
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2010-10-06 07:58:11 +02:00
|
|
|
CONFIGURE_ARGS= --enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
2005-04-30 19:06:58 +02:00
|
|
|
|
2010-08-01 09:13:14 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h
|
|
|
|
|
2005-09-10 04:22:03 +02:00
|
|
|
post-install:
|
2012-02-21 05:06:30 +01:00
|
|
|
@${LN} -fs ${PREFIX}/bin/killall ${PREFIX}/bin/pidof
|
1998-12-20 04:55:54 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|