Makefile 659 B

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