opnsense-ports/sysutils/pstree/Makefile
Franco Fichtner 72afd80bda */*: sync with upstream
Taken from: FreeBSD
2022-10-05 08:15:46 +02:00

27 lines
608 B
Makefile

PORTNAME= pstree
DISTVERSIONPREFIX= v
DISTVERSION= 2.40
CATEGORIES= sysutils
MASTER_SITES= https://github.com/FredHucht/${PORTNAME}/files/9119465/
MAINTAINER= jgh@FreeBSD.org
COMMENT= List processes as a tree
WWW= https://github.com/FredHucht/pstree
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= zip
CONFLICTS= psmisc
PLIST_FILES= bin/pstree man/man1/pstree.1.gz
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o pstree pstree.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pstree ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pstree.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>