Module Name: src
Committed By: mrg
Date: Sun Dec 5 09:09:39 UTC 2010
Modified Files:
src/external/bsd/libpcap/bin: Makefile
Log Message:
- use SCRIPTS* for scripts instead of FILES*.
- add pcap-config to CLEANFILES.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libpcap/bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libpcap/bin/Makefile
diff -u src/external/bsd/libpcap/bin/Makefile:1.1 src/external/bsd/libpcap/bin/Makefile:1.2
--- src/external/bsd/libpcap/bin/Makefile:1.1 Sun Dec 5 03:00:44 2010
+++ src/external/bsd/libpcap/bin/Makefile Sun Dec 5 09:09:39 2010
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2010/12/05 03:00:44 christos Exp $
+# $NetBSD: Makefile,v 1.2 2010/12/05 09:09:39 mrg Exp $
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../dist
-FILESDIR=/usr/bin
-FILESMODE=555
-FILES=pcap-config
+SCRIPTSDIR=/usr/bin
+SCRIPTS=pcap-config
+
MAN=pcap-config.1
pcap-config: pcap-config.in
@@ -15,7 +15,9 @@
-e 's,@includedir@,/usr/include,g' \
-e 's,@LIBS@,,g' < ${.ALLSRC} > ${.TARGET}
chmod a+x ${.TARGET}
-
-.include <bsd.files.mk>
-.include <bsd.man.mk>
+CLEANFILES+= pcap-config
+
+NOPROG=
+
+.include <bsd.prog.mk>