22# to commit it. I (ler) don't have access to all the ARCH's
33
44PORTNAME = lsof
5- DISTVERSION = 4.99.3
6- PORTREVISION = 2
5+ DISTVERSION = 4.99.4
76PORTEPOCH = 8
87CATEGORIES = sysutils
98
109MAINTAINER = ler@FreeBSD.org
1110COMMENT = Lists information about open files (similar to fstat(1))
12- WWW = https://github.com/lsof-org/lsof
11+ WWW = https://github.com/lsof-org/lsof/
1312
1413LICENSE = lsof
1514LICENSE_NAME = lsof
@@ -21,11 +20,6 @@ CPE_VENDOR= lsof_project
2120USE_GITHUB = yes
2221GH_ACCOUNT = lsof-org
2322
24- PATCH_SITES = https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
25- PATCHFILES = 003c8463fd6b8cf2d25a4b10a874825f8f4b471b.patch \
26- 5233d10ec63ba674c250bdc4308c3a22a04f6d20.patch
27- PATCH_DIST_STRIP = -p1
28-
2923SHEBANG_FILES = scripts/*.pl
3024
3125HAS_CONFIGURE = yes
@@ -47,7 +41,7 @@ CONFIGURE_SCRIPT= Configure
4741CONFIGURE_ARGS = -n freebsd
4842CONFIGURE_ENV = FREEBSD_SYS="${SRC_BASE}/sys" \
4943 LSOF_CC="${CC}"
50- BUILD_DEPENDS = ${LOCALBASE}/bin/bash:shells/bash
44+ BUILD_DEPENDS = ${LOCALBASE}/bin/bash:shells/bash
5145
5246# GCC needs -lzfs -lzpool for reasons unknown. If someone can
5347# figure out why, I (ler) am all ears.
@@ -62,9 +56,8 @@ IGNORE+= requires kernel sources
6256do-install :
6357 ${INSTALL_PROGRAM} ${WRKSRC} /lsof ${STAGEDIR}${PREFIX} /sbin
6458 (cd ${WRKSRC} && /usr/bin/soelim Lsof.8 > ${WRKSRC} /lsof.8)
65- ${INSTALL_MAN} ${WRKSRC} /lsof.8 ${STAGEDIR}${PREFIX} /share/man/man8/lsof.8
66- @${MKDIR} ${STAGEDIR}${PREFIX} /share/lsof
67- ${INSTALL_SCRIPT} ${WRKSRC} /scripts/* ${STAGEDIR}${PREFIX} /share/lsof
68- @${CHMOD} 0444 ${STAGEDIR}${PREFIX} /share/lsof/00*
59+ ${INSTALL_MAN} ${WRKSRC} /lsof.8 ${STAGEDIR}${MANDIRS} /man8/lsof.8
60+ ${MKDIR} ${STAGEDIR}${DATADIR}
61+ ${INSTALL_SCRIPT} ${WRKSRC} /scripts/* ${STAGEDIR}${DATADIR}
6962
7063.include <bsd.port.post.mk>
0 commit comments