aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ipcalc
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2014-11-20 04:25:01 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2014-11-20 04:25:01 +0000
commitfccbafadb0e6b3880222745741c7c3b412a82af2 (patch)
treea36eeca0b38e2248ec4d73b0db6171d2de5d09f4 /net-mgmt/ipcalc
parente2c11fee202f47eb7cc7db26e03af53785e95a6f (diff)
downloadports-fccbafadb0e6b3880222745741c7c3b412a82af2.tar.gz
ports-fccbafadb0e6b3880222745741c7c3b412a82af2.zip
- Add license and cleanup patch file.
PR: ports/149239 Submitted by: takefu@airport.fm
Notes
Notes: svn path=/head/; revision=372833
Diffstat (limited to 'net-mgmt/ipcalc')
-rw-r--r--net-mgmt/ipcalc/Makefile5
-rw-r--r--net-mgmt/ipcalc/distinfo6
-rw-r--r--net-mgmt/ipcalc/files/patch-ipcalc20
3 files changed, 9 insertions, 22 deletions
diff --git a/net-mgmt/ipcalc/Makefile b/net-mgmt/ipcalc/Makefile
index be39380f99ea..0ee55f756a0a 100644
--- a/net-mgmt/ipcalc/Makefile
+++ b/net-mgmt/ipcalc/Makefile
@@ -6,15 +6,20 @@ PORTVERSION= 0.41
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= http://jodies.de/ipcalc-archive/
+DIST_SUBDIR= ipcalc
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= IP Calculator
+LICENSE= GPLv2
+
PLIST_FILES= bin/ipcalc
NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= ipcalc
+PATCH_SITES+= ${MASTER_SITES}
+PATCHFILES+= patch-queue
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/net-mgmt/ipcalc/distinfo b/net-mgmt/ipcalc/distinfo
index 60b28102529d..0d9bc5649ff4 100644
--- a/net-mgmt/ipcalc/distinfo
+++ b/net-mgmt/ipcalc/distinfo
@@ -1,2 +1,4 @@
-SHA256 (ipcalc-0.41.tar.gz) = dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a
-SIZE (ipcalc-0.41.tar.gz) = 21599
+SHA256 (ipcalc/ipcalc-0.41.tar.gz) = dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a
+SIZE (ipcalc/ipcalc-0.41.tar.gz) = 21599
+SHA256 (ipcalc/patch-queue) = 034c7f16f94297bceae88b4b14162124d5385740750050449ca0794484f21cb1
+SIZE (ipcalc/patch-queue) = 807
diff --git a/net-mgmt/ipcalc/files/patch-ipcalc b/net-mgmt/ipcalc/files/patch-ipcalc
deleted file mode 100644
index 645e74a2e33a..000000000000
--- a/net-mgmt/ipcalc/files/patch-ipcalc
+++ /dev/null
@@ -1,20 +0,0 @@
---- ipcalc.orig 2011-07-05 14:39:13.633969288 +0900
-+++ ipcalc 2011-07-05 14:39:29.494250145 +0900
-@@ -2,7 +2,7 @@
-
-
- # IPv4 Calculator
--# Copyright (C) Krischan Jodies 2000 - 2004
-+# Copyright (C) Krischan Jodies 2000 - 2006
- # krischan()jodies.de, http://jodies.de/ipcalc
- #
- # This program is free software; you can redistribute it and/or modify
-@@ -1082,7 +1082,7 @@
- IP Calculator $version
-
- Enter your netmask(s) in CIDR notation (/25) or dotted decimals (255.255.255.0).
--Inverse netmask are recognized. If you mmit the netmask, ipcalc uses the default
-+Inverse netmasks are recognized. If you mmit the netmask, ipcalc uses the default
- netmask for the class of your network.
-
- Look at the space between the bits of the addresses: The bits before it are