summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-09-18 06:43:28 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-09-18 06:43:28 +0000
commit77055df2fbedb95fc64a9b320dcc4b9e23d341b9 (patch)
tree96cb3a02ac1eb7006439cb8465b20de7c20a88aa /net
parent- New port: security/fpc-openssl (diff)
- New port: net/fpc-pcap
Free Pascal unit for libpcap library
Notes
Notes: svn path=/head/; revision=199671
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/fpc-pcap/Makefile23
-rw-r--r--net/fpc-pcap/pkg-plist9
3 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 97f373db1888..8664c058e2c6 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -127,6 +127,7 @@
SUBDIR += forg
SUBDIR += fpc-libasync
SUBDIR += fpc-netdb
+ SUBDIR += fpc-pcap
SUBDIR += fping
SUBDIR += freebsd-uucp
SUBDIR += freedbd
diff --git a/net/fpc-pcap/Makefile b/net/fpc-pcap/Makefile
new file mode 100644
index 000000000000..ef7ffe561256
--- /dev/null
+++ b/net/fpc-pcap/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: fpc-pcap
+# Date created: 2006-09-11
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= net lang
+PKGNAMESUFFIX= -pcap
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal unit for libpcap library
+
+BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
+
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= LIBPCAP "Install ubiquitous network traffic capture library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/fpc-pcap/pkg-plist b/net/fpc-pcap/pkg-plist
new file mode 100644
index 000000000000..290d3735df77
--- /dev/null
+++ b/net/fpc-pcap/pkg-plist
@@ -0,0 +1,9 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pcap/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pcap/pcap.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pcap/pcap.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pcap/libppcap.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pcap
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc