diff options
author | edwin <edwin@FreeBSD.org> | 2008-05-29 09:42:32 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2008-05-29 09:42:32 +0800 |
commit | e2dbb1d3033070377a8ded924af5b67d4bdbbc4d (patch) | |
tree | f8b9b1562d9172bc690efc75677e0a1bc92512a7 /sysutils/netident | |
parent | 070abe577c90b68ba8dd0b237896682df588758d (diff) | |
download | freebsd-ports-gnome-e2dbb1d3033070377a8ded924af5b67d4bdbbc4d.tar.gz freebsd-ports-gnome-e2dbb1d3033070377a8ded924af5b67d4bdbbc4d.tar.zst freebsd-ports-gnome-e2dbb1d3033070377a8ded924af5b67d4bdbbc4d.zip |
New Port: net/netident A port for testing what network a machine
is on and creating flags.
PR: ports/121629
Submitted by: "Zane C.B." <vvelox@vvelox.net>
Diffstat (limited to 'sysutils/netident')
-rw-r--r-- | sysutils/netident/Makefile | 48 | ||||
-rw-r--r-- | sysutils/netident/distinfo | 3 | ||||
-rw-r--r-- | sysutils/netident/pkg-descr | 1 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/netident/Makefile b/sysutils/netident/Makefile new file mode 100644 index 000000000000..1a58470d2081 --- /dev/null +++ b/sysutils/netident/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: netident +# Date created: 11 March 2008 +# Whom: Zane C. Bowers +# +# $FreeBSD$ +# + +PORTNAME= netident +PORTVERSION= 0.1.0 +CATEGORIES= sysutils deskutils +MASTER_SITES= http://cpan.org/authors/id/V/VV/VVELOX/ +DISTNAME= ${PORTNAME}-${PORTVERSION}.pl +EXTRACT_SUFX= +EXTRACT_ONLY= + +MAINTAINER= vvelox@vvelox.net +COMMENT= A tool for helping identify what network a machine is on + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface \ + ${SITE_PERL}/Net/CIDR/Lite.pm:${PORTSDIR}/net/p5-Net-CIDR-Lite + +USE_PERL5_RUN= yes +USE_PERL5_BUILD=yes +NO_WRKSUBDIR= yes + +MAN1= ${PORTNAME}.1 + +PLIST_FILES= bin/${PORTNAME} +PLIST_DIRS= etc/netident + +post-extract: + @${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC} + +#nothing to configure +#do-configure: +# @${ECHO} -n + +do-build: + @${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1 + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} + @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1 + @${CHMOD} +x ${PREFIX}/bin/${PORTNAME} + @${MKDIR} /var/db/netident/ + @${MKDIR} ${PREFIX}/etc/netident/ + +.include <bsd.port.mk> diff --git a/sysutils/netident/distinfo b/sysutils/netident/distinfo new file mode 100644 index 000000000000..b5ce56300d94 --- /dev/null +++ b/sysutils/netident/distinfo @@ -0,0 +1,3 @@ +MD5 (netident-0.1.0.pl) = 74f3a2bd9fbda35bf834e2f372b3b98c +SHA256 (netident-0.1.0.pl) = ffdc5a533ae1d37dce2b5e8e6bc21e93df3f2980578532e6c43d8b8d24dc2088 +SIZE (netident-0.1.0.pl) = 12158 diff --git a/sysutils/netident/pkg-descr b/sysutils/netident/pkg-descr new file mode 100644 index 000000000000..0f6f95dc8c12 --- /dev/null +++ b/sysutils/netident/pkg-descr @@ -0,0 +1 @@ +A tool for helping identify what network a machine is on. |