freebsd-ports/sysutils/psmisc/Makefile

47 lines
953 B
Makefile
Raw Normal View History

# New ports collection makefile for: psmisc
# Date created: 10 March 1998
# Whom: rantapaa@uswest.net
#
1999-08-31 04:00:46 +02:00
# $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
2005-09-10 04:22:03 +02:00
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
USES+= gettext
CONFIGURE_ARGS= --enable-nls
PLIST_SUB+= NLS=""
.endif
2005-04-30 19:06:58 +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:
@${LN} -fs ${PREFIX}/bin/killall ${PREFIX}/bin/pidof
.include <bsd.port.mk>