diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-05-21 12:52:44 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-05-21 12:52:44 +0000 |
commit | 4b777c385aaee74b00cc20423bf5fc4beb94ebfa (patch) | |
tree | 0b3782870a29ab5d82aa3b4e760927b4019537a4 /net/ipcalc/Makefile | |
parent | 3887d1a0e8edb524e1ba9128db0bd7aad5fd5d52 (diff) | |
download | pkgsrc-4b777c385aaee74b00cc20423bf5fc4beb94ebfa.tar.gz |
Initial import of ipcalc-0.33 - IP Calculator written in perl
ipcalc takes an IP address and netmask and calculates the resulting broadcast,
network, Cisco wildcard mask, and host range. By giving a second netmask, you
can design sub- and supernetworks. It is also intended to be a teaching tool
and presents the results as easy-to-understand binary values.
Diffstat (limited to 'net/ipcalc/Makefile')
-rw-r--r-- | net/ipcalc/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/ipcalc/Makefile b/net/ipcalc/Makefile new file mode 100644 index 00000000000..bbcb14fb6d4 --- /dev/null +++ b/net/ipcalc/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/21 12:52:44 zuntum Exp $ +# + +DISTNAME= ipcalc.pl +PKGNAME= ipcalc-0.33 +CATEGORIES= net +MASTER_SITES= http://jodies.cx/ +EXTRACT_SUFX= # + +MAINTAINER= zuntum@netbsd.org +HOMEPAGE= http://jodies.de/ipcalc/ +COMMENT= IP Calculator + +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} +WRKSRC= ${WRKDIR} + +USE_PERL5= YES +NO_BUILD= YES + +post-patch: + ${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \ + ${WRKSRC}/ipcalc.pl > ${WRKSRC}/ipcalc.pl.done + ${MV} ${WRKSRC}/ipcalc.pl.done ${WRKSRC}/ipcalc.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ipcalc.pl ${PREFIX}/bin/ipcalc + +.include "../../mk/bsd.pkg.mk" |