aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-06-16 06:27:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-06-16 06:27:18 +0000
commit94f6e781818b10791703b0981f260a99d1347bcc (patch)
tree9d99d4742c7c631339e6cc52fa47a20edbd89236 /sysutils
parentc6180f42565e0593e50a56cb91727e9fb6c03a8e (diff)
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile24
-rw-r--r--sysutils/lsof/distinfo2
2 files changed, 15 insertions, 11 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index c10c57817ede..c6c08d52beb5 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= lsof
-PORTVERSION= 4.56.3
+PORTVERSION= 4.56.4
CATEGORIES= sysutils
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -19,7 +19,7 @@ MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/NEW/
#DISTNAME= ${PORTNAME}_${PORTVERSION}_W
-DISTNAME= ${PORTNAME}_4.57C.freebsd
+DISTNAME= ${PORTNAME}_4.57D.freebsd
MAINTAINER= obrien@FreeBSD.org
@@ -31,12 +31,6 @@ CONFIGURE_ENV= LSOF_CC="${CC}"
FREEBSD_SYS?= /usr/src/sys
MAN8= lsof.8
-.if defined(PACKAGE_BUILDING)
-.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-BROKEN= 'please install kernel source for official package builds'
-.endif
-.endif
-
SRCBALL_NAME= ${DISTNAME:S/_W$//}
post-extract:
@@ -66,8 +60,16 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500019
.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-post-install:
+.if defined(PACKAGE_BUILDING)
+BROKEN= 'please install kernel source for official package builds'
+.endif
+
+pre-configure:
+ @${ECHO} ""
@${ECHO} "************************************************************"
@${ECHO} "* W a r n i n g *"
@${ECHO} "* A more capable version of LSOF is built if you have *"
@@ -76,6 +78,8 @@ post-install:
@${ECHO} "* /usr/src/sys, you may set the FREEBSD_SYS variable *"
@${ECHO} "* to the correct path. *"
@${ECHO} "************************************************************"
+ @${ECHO} ""
+.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index f23607553148..cc8eef5a4608 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1 +1 @@
-MD5 (lsof_4.57C.freebsd.tar.gz) = e5f68722c716bc497af45b250bb3eb38
+MD5 (lsof_4.57D.freebsd.tar.gz) = e42cb1d4643bb4915ab887ecabcd47e2