summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-03-30 18:11:58 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-03-30 18:11:58 +0000
commit146319ce61320238cd381cf5c0e1d3eade64d873 (patch)
tree07b89b1a9aefca3d6fa1d62eaa422a85cc192a87 /net-mgmt
parentImport arpwatch version 2.0.1a1, a tool for monitoring (diff)
Style fixes:
* CATEGORIES doens't have ``+'' anymore * manpages should be listed in MAN8 so they get compressed * use ${MKDIR} so parrent dirs get created if nessicary * blank likes around MAINTAINER * PKGNAME isn't needed when PKGNAME is same as DISTNAME
Notes
Notes: svn path=/head/; revision=6071
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpwatch-devel/Makefile13
-rw-r--r--net-mgmt/arpwatch/Makefile13
2 files changed, 16 insertions, 10 deletions
diff --git a/net-mgmt/arpwatch-devel/Makefile b/net-mgmt/arpwatch-devel/Makefile
index 71e3fdafe0a0..a87b828dab67 100644
--- a/net-mgmt/arpwatch-devel/Makefile
+++ b/net-mgmt/arpwatch-devel/Makefile
@@ -3,26 +3,29 @@
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/03/30 17:19:56 brian Exp $
#
DISTNAME= arpwatch-2.0.1a1
-PKGNAME= arpwatch-2.0.1a1
-CATEGORIES+= net
+CATEGORIES= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
+
MAINTAINER= brian@awfulhak.demon.co.uk
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
+MAN8= arpwatch.8 arpsnmp.8
+
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
- mkdir ${PREFIX}/arpwatch; \
+ ${MKDIR} ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
- chown root.operator ${PREFIX}/arpwatch; \
+ /usr/sbin/chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index 71e3fdafe0a0..a87b828dab67 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -3,26 +3,29 @@
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/03/30 17:19:56 brian Exp $
#
DISTNAME= arpwatch-2.0.1a1
-PKGNAME= arpwatch-2.0.1a1
-CATEGORIES+= net
+CATEGORIES= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
+
MAINTAINER= brian@awfulhak.demon.co.uk
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
+MAN8= arpwatch.8 arpsnmp.8
+
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
- mkdir ${PREFIX}/arpwatch; \
+ ${MKDIR} ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
- chown root.operator ${PREFIX}/arpwatch; \
+ /usr/sbin/chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat