1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/sysutils/psmisc/Makefile
Sunpoet Po-Chuan Hsieh adaa588f8a - Support STAGEDIR
- While I'm here:
  - Convert to new options helper
  - Use USES=gmake

PR:		ports/184275
Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
2013-11-26 15:07:23 +00:00

33 lines
647 B
Makefile

# Created by: rantapaa@uswest.net
# $FreeBSD$
PORTNAME= psmisc
PORTVERSION= 22.16
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:${PORTSDIR}/textproc/gsed
CONFLICTS= pidof-[0-9]* pstree-2.[0-9]*
GNU_CONFIGURE= yes
USES= gmake
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>